Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

printing value of an entity in grip

Status
Not open for further replies.

engguser

Mechanical
Apr 17, 2008
14
How do I print the value of an entity in grip?
Example

ENTITY/L1
NUMBER/P1(3),P2(3)
DATA/P1,2.0,3.0,0.0
DATA/P2,1.0,1.0,0.0
L1=LINE/P1,P2
HALT

How do I print the value in L1 to the output window?
 
Replies continue below

Recommended for you

When you say "print the value in L1" what do you expect the output to look like?

Are you expecting: "L1=LINE/P1,P2"

Or are you looking for the values of P1 and P2?

Or are you looking for something like the length of the Line?

John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor