Results 1 to 9 of 9

Thread: LDD Variables?

  1. #1
    Member
    Join Date
    2007-07
    Posts
    4
    Login to Give a bone
    0

    Red face LDD Variables?

    SETVAR only lists acad variables.

    How do I find a list of ldd variables?

  2. #2
    All AUGI, all the time SRBalliet's Avatar
    Join Date
    2004-06
    Location
    Near Christiansburg, VA Looking for a closer job!
    Posts
    500
    Login to Give a bone
    0

    Default Re: LDD Variables?

    Quote Originally Posted by scomer
    SETVAR only lists acad variables.

    How do I find a list of ldd variables?
    You can set LDD parameters under Projects-->Edit Drawing Settings

  3. #3
    Member
    Join Date
    2007-07
    Posts
    4
    Login to Give a bone
    0

    Default Re: LDD Variables?

    I want to use these variables for information extraction.

    For ex. what is the variable for project name?

  4. #4
    All AUGI, all the time SRBalliet's Avatar
    Join Date
    2004-06
    Location
    Near Christiansburg, VA Looking for a closer job!
    Posts
    500
    Login to Give a bone
    0

    Default Re: LDD Variables?

    You can set a project name in the system variables. Type projectname on the command line. What are you trying to do? What do you want your final outcome to look like?

  5. #5
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    0

    Default Re: LDD Variables?

    That's a bit easier, and at the same time a bit trickier. LDD is really Softdesk Civil, and was written as a 3rd party app to run on top of AutoCAD. this was all prior to Autodesk doing 'vertical apps'. So the Softdesk devs did not have access to the core code and couldn't create setvars or modify the original CAD application, they had to run on top of it.

    Even though Adesk has long since acquired the software, they've not worked to integrate it with Acad and are pushing Civil3D instead.

    The LDD information can be extracted however if you know the secret. It's stored in the drawing as invisible attributes to the invisible ADCAD_ZZ block, normally inserted at 0,0,0 in the first layout tab. There are no objects in that block, just invisible attributes and the block is set to invisible,so it's not normally selectable. Programatically you'll need to find the block, and list out the attributes to the instance.

  6. #6
    AUGI Addict jpaulsen's Avatar
    Join Date
    2002-04
    Location
    Colorado
    Posts
    2,020
    Login to Give a bone
    0

    Default Re: LDD Variables?

    Once you get the project name from the ADCADD_ZZ block you will find project specific settings in three files located at the root folder of the LDT project: project.dfm, cd.dfm and cgx.dfm file.

    I think the problem will be identifying the project path since it is stored in the project.dfm.

    System specific settings are located at C:\ Documents and Settings<user name>Local SettingsApplication DataAutodeskAutoCAD Civil 3D Land Desktop Companion 2008R17.1enuSupportsdsk.dfm. Note: you will need to substitute your version for 2008 and 17.1.

    Drawing specific settings are located at <project path>/dwg/<drawing name>.dfm and <project path>/dwg/<drawing name>.cgx and <project path>/dwg/<drawing name>.cd. All drawings that have been attached to the project will have a .dfm. Not all drawings will have a .cd or .cgx file.

    Edit: Stupid smiley faces. It changed my path to a smiley face.
    Last edited by jpaulsen; 2007-07-26 at 03:25 PM.

  7. #7
    Member
    Join Date
    2007-07
    Posts
    4
    Login to Give a bone
    0

    Default Re: LDD Variables?

    Thank you.

  8. #8
    Member
    Join Date
    2007-07
    Posts
    4
    Login to Give a bone
    0

    Default Re: LDD Variables?

    Thank you regarding the acad_zz, but I don't know how to extract information out of it?

    How do you extract this information?

    In the upper left hand corner of the screen the project is displayed. What I am trying to do is read that variable and display it in text.

    I appreciate your patience.

  9. #9
    AUGI Addict jpaulsen's Avatar
    Join Date
    2002-04
    Location
    Colorado
    Posts
    2,020
    Login to Give a bone
    0

    Default Re: LDD Variables?

    The value is just an attribute in a block. You would extract it like any other attribute. Not sure how to do it with programming but at the command prompt you type attext. Use -attext (with the hyphen) to get the command line driven command.

Similar Threads

  1. 2012: Array Variables
    By Bgy Niugan in forum AutoCAD General
    Replies: 1
    Last Post: 2011-11-07, 06:57 PM
  2. MLeader Variables
    By raddis in forum AutoLISP
    Replies: 3
    Last Post: 2010-03-04, 08:57 PM
  3. Various LT scales variables?
    By cadman_meg in forum AutoCAD General
    Replies: 6
    Last Post: 2008-10-28, 04:57 AM
  4. Image variables
    By georgen in forum AutoCAD General
    Replies: 11
    Last Post: 2008-07-23, 12:49 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
  •