Macro to save bodies into individual SOLIDWORKS part documents using a custom property as file name

Hi guys

First time posting on here.

I’m trying to find a macro that does the SOLIDWORKS “Save Bodies” feature for all sheet metal bodies but instead of using the feature name as the file name, I would like it to be a cut list property from the body.

I want to merge the ability to customise the file output based on cut list properties from this Macro:

https://www.codestack.net/solidworks-api/document/sheet-metal/export-all-flat-patterns/

With this Macro:

https://www.codestack.net/solidworks-api/geometry/insert-bodies-to-part/

Is this possible? Is anyone willing to help?

Cheers!

Before starting on this one (may have existing macro that already does this), what version are you running?

Good day,

I’m looking for the same information. Do you have any updates? Thanks in advance

Check if this is helpful - https://forum.cadmunity.com/t/adding-quantity-and-thickness-to-the-name-while-saving-the-file/817/15