Results 1 to 4 of 4

Thread: mapping of variables

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2011-09
    Posts
    1
    Login to Give a bone
    0

    Default mapping of variables

    I am a newbie to autocad dotnet programming.
    I have a procedure using two variables x ,y
    I need to assign x1 y1 to one project & x2 ,y2 to another project.
    how to do this?

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,105
    Login to Give a bone
    0

    Default Re: mapping of variables

    Will there ever be more than two projects?
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: mapping of variables

    Welcome to AUGI.

    Why not just instantiate X, and Y and non-static Fields in your Project's Class?

    They would inherently then be available for per-document values.


    Cheers
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  4. #4
    I could stop if I wanted to
    Join Date
    2007-08
    Posts
    202
    Login to Give a bone
    0

    Default Re: mapping of variables

    Hi,

    "Project" can be understood in several ways.
    But if you're talking about 'per document' data storing, you should read these two topics (the first one explains what BlackBox was talking about):
    http://through-the-interface.typepad...ent_dat_1.html
    http://through-the-interface.typepad...ent_dat_2.html

Similar Threads

  1. 2016: Variables changing other variables
    By jdcincy in forum AutoCAD General
    Replies: 10
    Last Post: 2015-10-28, 10:34 AM
  2. 2014: UVW mapping
    By markfo in forum 3ds Max - General
    Replies: 2
    Last Post: 2015-08-31, 08:46 PM
  3. Mapping
    By mAnOO in forum AutoCAD General
    Replies: 1
    Last Post: 2010-04-18, 11:27 AM
  4. UV Mapping
    By Jit in forum Revit - Rendering
    Replies: 1
    Last Post: 2004-04-01, 06:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •