Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
DKDariusz Karcz24/11/2015
Hello,
I'm trying to write a macro that will do the following:
While working in drawing environment:
1. Select face in view
2. Open Part that face is belonging
3. Get the body that own this face
4. Get Description property for this body (and few other properties) from folder in which this body resides
5. Export selected face with cutlist properties from step 4.
Currently I'm stuck with: how to get cutlist properties of folder which contains body that is selected by its face.
How to back-traverse from children in cutlist tree up to folder that can have properties pre-written?
Do i need to use IbodyFolder interface? or maybe CustomProperties interface? or maybe I need to traverse whole Design tree by FeatureManager?