How can I export point coordinates from a CATIA product to excel

JHall picture JHall · Dec 4, 2012 · Viewed 11.7k times · Source

What I'm looking for is a VB script written in either excel or CATIA that can export the coordinates of points in a CATProduct to an excel spreadsheet. The process needs to be as automated as possible due to the large number of points that I am dealing with.

Eventually, I will need to export only specific points and group these points together in 4's to identify what part they belong to.

I have an excel script that allow for points to be imported, but this only takes points from a geometry set and the points in the product I'm looking at are in the part body.

Answer

ferdo picture ferdo · Dec 24, 2012

I believe it can be done, what I would do is to search and select all points in CATProduct, then get parent for each selected point up to the Part, then get coordinates (of course, you need to write everything in Excel if you have the code there).

I don't know if you can upload here your excel vba but shouldn't be so difficult.