Jul 15, 2008 #1 engguser Mechanical Joined Apr 17, 2008 Messages 14 Location US 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?
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?
Jul 15, 2008 #2 JohnRBaker Mechanical Joined Jun 1, 2006 Messages 38,041 Location US 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 http://www.siemens.com/plmhttp://www.plmworld.org/museum/ To an Engineer, the glass is twice as big as it needs to be. Upvote 0 Downvote
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 http://www.siemens.com/plmhttp://www.plmworld.org/museum/ To an Engineer, the glass is twice as big as it needs to be.