Select cut lists folder and insert 3D bounding box.
Posted: Fri Dec 23, 2022 11:26 am
Hello all,
I am trying to select the cutting list folder as parts of a larger macro and run the function to create the 3D bounding boxes. Exactly the way I have been doing it by hand.
Probably due to lack of sufficient knowledge I don't manage to select with the macro the cutlists folder
In the old Solidworks forum I found the following macro https://forum.solidworks.com/thread/201686
The macro works after a few minor adjustments, but with the difference to the manual execution that the bounding box is inserted in all cutting list elements, even in the structural elements where it is not required.
When executed manually over the topmost cut list folder, the bounding box is added only to the elements that do not contain structural elements.
Does anyone have a tip for me on how to program the macro to achieve the same result as when executed manually.
I am trying to select the cutting list folder as parts of a larger macro and run the function to create the 3D bounding boxes. Exactly the way I have been doing it by hand.
Probably due to lack of sufficient knowledge I don't manage to select with the macro the cutlists folder
In the old Solidworks forum I found the following macro https://forum.solidworks.com/thread/201686
The macro works after a few minor adjustments, but with the difference to the manual execution that the bounding box is inserted in all cutting list elements, even in the structural elements where it is not required.
When executed manually over the topmost cut list folder, the bounding box is added only to the elements that do not contain structural elements.
Does anyone have a tip for me on how to program the macro to achieve the same result as when executed manually.