AnsweredAssumed Answered

How to get cut list property from body selection

Question asked by Dariusz Karcz on Nov 24, 2015
Latest reply on Nov 27, 2015 by Yusuf Dabhiya



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?