Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

grip help

Status
Not open for further replies.

BrianM4x4

Mechanical
Mar 22, 2001
13
0
0
CA
I am trying to modify the part_envelope.grs that comes with the install to add the size into an attribute.

This statement prints the size

PRINT/USING,'BLOCK SIZE: #@@@.@@@ x#@@@.@@@ x#@@@.@@@',$
RANGE(2)-RANGE(1),RANGE(4)-RANGE(3),RANGE(6)-RANGE(5)

Is there any way to add those 3 dimension to an attribute called size at the end of the program.

I have been trying without much success.

Thanks
 
Replies continue below

Recommended for you

Add 3 new varaibales to the program, block_x, block_y and block_z. Then do the math to get each value. Now do the assign part attribute of the calculated value.


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
CAD/CAM System Analyst
Ingersoll-Rand
 
Status
Not open for further replies.
Back
Top