Site icon BLUE BYTE SYSTEMS INC.

How To Export the Active Document As a STEP File

This macro allows you to export the active document as a STEP file to the same directory as the original file. It will automatically name the STEP file the same as the active document, but with the .step extension. This macro is an easy way to export parts and assemblies to STEP files.

https://bluebyte.biz/wp-content/uploads/2025/09/Save_as_STEP.mkv

You can download an icon for the macro at this link to use when you add it as a button on a toolbar.

System Requirements

●   SolidWorks Version: SolidWorks 2014 or later

●   Operating System: Windows 7 or later

Pre-Conditions

●   The active document must be a part or assembly.

●   This macro does not work on drawing files.

●   Ensure that the document is saved before running the macro, as it will export the file in the same directory.

Results

●   The macro will save the active document as a .step file in the active document’s directory.

●   A message box will show you where the file was saved.

VBA Macro Code

You can download the macro from here.

Need Custom Macro Development?

Do you need changes done to the macro to accommodate your requirements or to utilize it with other processes, such as when you need to export the active document as a STEP file? At Blue Byte Systems Inc., we offer custom macro development to suit your specific needs!

Exit mobile version