Macro to create configurations

Good morning everyone,

this is my question:

I have a file part composed by n bodies, I have to create a configuration for each body in the file (using the "remove body").

it's possible? you have any advice? existing macro?

Thank you all

SolidworksApi macros