Results 1 to 3 of 3

Thread: zz_getxd Disabled?

  1. #1
    Moderator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    2,397

    Default zz_getxd Disabled?

    I've used (zz_getxd ###) earlier this year, in order to extract information from the "ADCADD_ZZ" block within AutoCAD 2009 Civil 3D Land Desktop Companion.

    The problem I'm having, is that this function no longer returns the information it once did. For example, I'd use these to get the drawing scales:

    Code:
    (setq vertScale (zz_getxd 341))
    (setq horzScale (zz_getxd 342))
    Oddly, I even went back into an old drawing using 2006 LDT, and the function returns nil there too.

    Is there another way of getting a drawing's scales?
    "Potential has a shelf life." - Margaret Atwood

  2. #2
    Administrator RobertB's Avatar
    Join Date
    2001-08
    Location
    Dallas TX USA
    Posts
    5,825

    Default Re: zz_getxd Disabled?

    Posting a sample drawing and telling us what are the known scales would help us answer your question.
    R. Robert Bell
    Design Technology Manager
    S P A R L I N G
    Opinions expressed are mine alone and do not reflect the views of Sparling.

  3. #3
    Moderator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    2,397

    Default Re: zz_getxd Disabled?

    I've discovered part of why I had trouble querying the information I was seeking...

    I'm unsure if this is the case for all verticals, but I've become aware that AutoCAD 2009 Land Desktop Companion requires that (cr_mnl) be loaded before the information I seek is available for the "zz_getxd" function.

    Prior to (cr_mnl) being loaded:
    Code:
    Command: (zz_getxd 342)
    nil
    After (cr_mnl) is loaded:
    Code:
    Command: (cr_mnl)
     
    Command: (zz_getxd 342)
    40.0
    Either the zz_getxd function is unavailable, or the extended data has not yet been populated prior to cr_mnl being loaded (I'm not sure which). I believe it to be the former, any clarification would be appreciated.

    In my earlier posts regarding an Object Reactor (link below), I used the zz_getxd function as a litmus test to determine when the appropriate scale was being changed. What I did not recognize until today, was that at that time, I had always been loading (cr_mnl) by attaching to an alignment, listing a profile elevation, or even printing cross sections.
    http://forums.augi.com/showthread.php?t=115384

    As for the known scales, that varies for each master type... We use either H 40' x V 4', or H 20' x V 10'. If you still feel that a drawing needs to be posted, I can do so, but this appears (to little ole' me) to be a topic based in AutoCAD's "Land" component, and not a drawing issue.

    Thanks,
    Last edited by RenderMan; 2010-06-17 at 09:31 PM. Reason: Typo
    "Potential has a shelf life." - Margaret Atwood

Similar Threads

  1. Macros buttons disabled - what the?
    By msiebert in forum Revit - API
    Replies: 4
    Last Post: 2010-10-12, 11:37 PM
  2. command shortcuts disabled?
    By rstiles in forum ACA General
    Replies: 4
    Last Post: 2009-03-11, 04:54 PM
  3. Door and windows disabled?
    By Dave Lewis in forum Revit Architecture - General
    Replies: 1
    Last Post: 2006-10-04, 10:00 PM
  4. Properties Tool bar Disabled?
    By jaredw in forum AutoCAD General
    Replies: 13
    Last Post: 2005-10-31, 07:24 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
  •