Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Exporting point information

  • Thread starter Thread starter proed
  • Start date Start date
P

proed

Guest
Hi.

We have a complex assembly with hundreds of points in the components (placed along helical paths, etc...)



The thing is - we want to export x, y & z co-ordinates for all these points - how can we do this quickly?

- and then update the information if some of them change position?



Thanks in advance
 
A trick I use is to export a curve to iges.



You can then create a datum-curve from file and select this iges.



On redefine of this curve Pro/E will write a feat_xxx.ibl file to your working directory.



The ibl file will have x,y,z data.



http://lti.dem.ist.utl.pt/faq/pro18/howto/dtr810/dtr810.htm



http://www.pro-classifieds.com/portal/forum/msgDetail.asp?msg_id=2513&for_id=15



Haven't tried this with points but may work. Do you have a curve thru these points ??
 
Here's a method I've had success with:



1. Export an IGES file of your assembly (single file) (and check the points box!)

2. Open the IGES file in a text editor

3. look for lines starting with 116

4. Copy these lines into Excel and clean them up



Here is a sample line:

116,1D1,2D2,3D3,0; 249P 125



in the above example:

166 is the IGES entity type for a point

X = 1E1 =10

Y = 2E2 = 200

Z = 3E3 = 3000



I think I have a batch file around here somewhere for parsing out points from an iges file... If I can find it, I'll upload it here.



-Brian Adkins
 
Couldn't find that file, but I wrote a similar one:

(We need this functionality here every so often)



This batch file will read in an iges file and then spit out the datum point x,y, & z values in two different formats... CSV and IBL (which can be read directly back into Pro/E)



-Brian Adkins
 
Oooops!



Don't use the batch file above.. it has a small error in it that can yield extra points in the output files...



Try this one instead.



-Brian Adkins
 
Thanks for the help again, Brian...



We were able to get the point data manually - will try your batch file in future,



Regards

Ed
 
Brian_Adkins said:
Looks like attached file was
somehow lost... here it is again:



2005-02-23_172830_iges_points.zip

Just found this - was looking for something similar. I
took the liberty of riffing on your script. I added the
capability of exporting Pro/E .pts files. The trick is,
I wanted to retain the *names* of the point features
(which are in fact preserved in the IGES file). Improved
script uploaded!

2012-02-02_192854_extract_iges_points.zip
Edited by: designviz
 

Part and Inventory Search

Sponsor

Back
Top