Vann
Automotive
- Jan 27, 2004
- 8
I am trying to extract information from selected cylinders in a model and get the following information for each:
Point of origin
Diameter of Cylinder
Direction
Height of Cylinder
My process is as follows:
1. Prompt the user with a "MESSG" to select cylinders for data extraction.
2. "MASK" the entity selection for Solid (70) only.
3. Use the "IDENT" function to store the cylinder data into an array
4. Loop through the array.
5. Extract the "ORIGIN XYZ", Direction, Diameter and Height
6. Write this data to a text file
I have a handle on everything except for step # 5.
I can find all of this information by using the "Feature Browser" on the "Information" menu in UG Modelling but cannot seem to find the GRIP functions that provide access to this data.
If anyone can point me in the right direction. I would sure appreciate it.
Thanks a lot
Point of origin
Diameter of Cylinder
Direction
Height of Cylinder
My process is as follows:
1. Prompt the user with a "MESSG" to select cylinders for data extraction.
2. "MASK" the entity selection for Solid (70) only.
3. Use the "IDENT" function to store the cylinder data into an array
4. Loop through the array.
5. Extract the "ORIGIN XYZ", Direction, Diameter and Height
6. Write this data to a text file
I have a handle on everything except for step # 5.
I can find all of this information by using the "Feature Browser" on the "Information" menu in UG Modelling but cannot seem to find the GRIP functions that provide access to this data.
If anyone can point me in the right direction. I would sure appreciate it.
Thanks a lot