Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
efhara
287 Views, 1 Reply

Export all vertices from Part Document without selection

Hello everyone! 

 

Please Help!

 

I have a Part Document that's a result of a subtraction (with kDerivedSubtractAll) in a DerivedAssemblyDefinition.

 

I want to export the coordinates of the vertices/points included in the Part geometry to an Excel File without selecting them. So, I need either an automatic selection of all part-vertices and then export of their coordinates or an automatic recognition of the part's vertices created as a result of the Subtraction.

 

I have been trying to use the "workpoints" with DocDef.workpoints so to have all points of part as an output  but all I get exported to the Excel Document is just one point with zero values (probably the ucs-origin) so I assume that the workpoints do not represent all points/vertices in an activedocument.

 

Do you have any suggestions???

 

Thanks in advance!!