So here is the problem, I am currently writing a macro to update the weldment cut-list and include the type of machining callout for our standards based on the library feature part used. I have been able to traverse through the feature tree and the cutlist items and get the body name, however when I try and access the features associated with the body it comes up as "nothing". The company would like me to make the macro so that the employees can
- create a weldment frame
- drag and drop the associated machining from a "standard machining operation" library
- updated the cut-list properties to reflect the machining operation
- account for fasteners based on machining operation
Attached is figure 1 which shows the cut-list with the "show feature history" enabled.
Is there a way to access the features assigned to the cut-list item, using parent/child or not.
The current process seems to work, unless the user adds additional machining, such a connector on one end and a tapped hole on the other. WHich we would like to account for by appending on the machining property.
Thanks ahead of time.
SolidworksApi macros