I am having a problem with a small function of a larger macro. The part I am having a problem with is that if the macro feature is before a body's (or bodies') main creation feature it does not recognize that there are bodies is the part. The reason why this is important is because I am trying to fix a problem that if our users apply material to a part then use the weldment tool (or create bodies) then cutlist items are not created in the bodies folder. The reason why I want cutlist items in the bodies folder because we are generating custom properties specific to the cutlist item later in the macro feature.
The only obvious way I know how to create a cutlist item is by applying the material to the bodies or to the part again. The problem with this is that if I have my macro feature before the first feature that creates the body (which is what we want because we want the macro feature in our part template and we don't want to manually move it) it does not recognize that there are any bodies.
So when the macro feature is located here, rebuilding this
Results in creating a cut list item, or this:
Rebuilding the below results in no change to the cutlist folder.
Is there some other way to add a body to a cutlist item? Is there some other way to get bodies in a macro feature if the macro feature is before the bodies creation? Since rebuilds run through every feature of a part, is there a way to run things out of order of the feature tree, ie rebuilding last?