Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Note coordinate Thru GRIP

Status
Not open for further replies.

toniechang

Industrial
Jul 31, 2005
61
Hi all !
How can I get a Note coordinates with a GRIP program ?
 
Replies continue below

Recommended for you

Use the &ORIGIN EDA to access the coordinates. OBTAIN/ would be able to tell you if that is mid-center, top-left, etc. You will probably need some combination of both commands depending on exactly what you are trying to accomplish.
 
I had the same question in a german forum ...and I got this
It worked fine for me

GRIPSW/ DECLRV

ENTITY/ obj
NUMBER/ subtyp
NUMBER/ objori(3)
STRING/ ostr(255)


MASK/ 25
INEXTE/ ALL

loopob:
obj = NEXTE/ IFEND, allobj:
subtyp = &SUBTYP(obj)
IFTHEN/ subtyp == 1
ostr = &DMTEXT(obj)
objori = &ORIGIN(obj)
PRINT/ USING, '#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ #@@@@.@@ #@@@@.@@', $
ostr, objori(1), objori(2)
ENDIF
JUMP/ loopob:
allobj:

HALT

greetings from Germany
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor