Logo ZADAX.NET
Store Library Hive Blog Contact
SolidWorks STEP/STL Configuration Batch Export Macro Showcase
Macro

SolidWorks STEP/STL Configuration Batch Export Macro

Version 1.0.0

Platform Solidworks

This C# SolidWorks macro automatically exports all configurations of the active part or assembly document. The user can choose between STEP, STL, or STEP + STL export modes. It also includes filename prefix/suffix support, STEP standard selection, overwrite control, progress bar, English export summary, error log file generation, and automatic opening of the export folder after completion.


Detailed Description

This macro connects to the active SolidWorks session, reads the currently active document, and processes all available configurations one by one. Each configuration is activated, rebuilt, and exported according to the selected export mode.

Supported export modes:

  • STEP
  • STL
  • STEP + STL

For STEP export, the user can select one of the following standards:

  • AP203
  • AP214
  • AP242

The purpose of this type of SolidWorks batch export macro is to automate exporting all configurations from an open Part or Assembly document. Before running such a macro, the Part or Assembly file containing the design configurations should be the active document in SolidWorks bluebyte.biz.

The macro asks the user to select an output folder. Exported files are saved into separate subfolders:


ExportFolder

├── STEP

│  ├── Prefix_ModelName_ConfigName_Suffix.step

│  └── Prefix_ModelName_ConfigName_Suffix.step

├── STL

│  ├── Prefix_ModelName_ConfigName_Suffix.stl

│  └── Prefix_ModelName_ConfigName_Suffix.stl

├── ExportLog_YYYYMMDD_HHMMSS.txt

└── ExportSummary_YYYYMMDD_HHMMSS.csv


Features

  • Automatically exports all configurations.
  • Supports STEP, STL, or STEP + STL export modes.
  • STEP standard selection:AP203
  • AP214
  • AP242
  • Optional filename prefix and suffix.
  • Automatic cleanup of invalid filename characters.
  • Existing file handling:Overwrite
  • Skip
  • Rename automatically
  • Progress bar during export.
  • English summary report after completion.
  • Error and operation log saved as .txt.
  • Export summary saved as .csv.
  • Option to open export folder after completion.
  • Restores the original configuration after export.


More from Developer

View All
Tool
Tekla Structures Version Detector - Tekla Structures Tool | ZadaX Marketplace

Tekla Structures Version Detector

by miraç

6
Free
Macro
SOLIDWORKS Multi\u002DBody Color Assignment Macro - Solidworks  Macro | ZadaX Marketplace

SOLIDWORKS Multi-Body Color Assignment Macro

by miraç

1
Free
Addon
NWD Copier - Navisworks Addon | ZadaX Marketplace

NWD Copier

by miraç

5
Free
Tool
Tekla Structures\u002D .uel Version Viewer - Tekla Structures Tool | ZadaX Marketplace

Tekla Structures- .uel Version Viewer

by miraç

1
Free
v2026.06.02.0938