What this macro does
Exports every configuration of the active part or assembly to a separate STEP file.
Best for
- Configured vendor parts
- Family-of-parts releases
- Supplier STEP packs
Inputs
- Open saved .SLDPRT or .SLDASM
Outputs
STEP
Filename rules
{filename}_{configuration}.step with unsafe filename characters removed.
How to use
- Test on copied SOLIDWORKS files first.
- Download and import
ExportConfigurationsToStep.basinto a SOLIDWORKS VBA macro project. - Open the required document type: Part, Assembly.
- Run
mainfrom the macro editor or assign it to a toolbar button. - Review all generated files before using them for production release.
Limitations
- Suppressed or invalid configurations may fail export.
- Large assemblies can take time to rebuild between configurations.