• Hi Experts,

    GOOD DAY!
    Currently im having some issues on placing GLAB in drafting(ADP). I created a code that automatically creates a GLAB on the DDNM (design element) in the drawing so it means XYPOS 0 0 as OSET by default is TRUE. I used a task to call the code and queried the DDNMXY position after the GLAB is created.

    $P REF => $!!CE.NAME
    $P DDNMX = $!!ce.ddnmx ; DDNMY = $!!ce.ddnmy

    When generating the drawing, and gives me this result:

    REF => =24578/1219368
    DDNMX = 28.588mm ; DDNMY = 116.349960968749mm

    But when i query the DDNMXY of the label on the command window, it gives me this:

    =24578/1219368
    q ddnmxy ddnmxy wrt shee
    DdnmXY X 61.79mm Y 125.67mm
    DdnmXY X 61.79mm Y 125.67mm

    Even using q ddnmxy wrt shee, it would still give the same result.

    Hope you can share a bit of your brilliant minds regarding on this. It puzzled me a lot since it gives inconsistent querying results.:crushed:

    Thanks in advance Minna-san~