Custom Properties macro

SOLIDWORKS Macro: Rename Configurations from a Custom Property

Renames configurations using a chosen custom property, with duplicate-safe suffixes.

PartAssemblyRenamed configurationsIntermediate

What this macro does

Renames configurations using a chosen custom property, with duplicate-safe suffixes.

Best for

  • Configured part cleanup
  • Export naming consistency
  • Design table preparation

Inputs

  • Open part or assembly
  • Property name to read from each configuration

Outputs

Renamed configurations

Filename rules

No export files created.

How to use

  1. Test on copied SOLIDWORKS files first.
  2. Download and import RenameConfigurationsFromProperty.bas into a SOLIDWORKS VBA macro project.
  3. Open the required document type: Part, Assembly.
  4. Run main from the macro editor or assign it to a toolbar button.
  5. Review all generated files before using them for production release.

Limitations

  • Renaming configurations can affect downstream references; test on copies first.

When macros become a workflow

Use Solidise for indexed folders, BOM visibility, where-used search and repeatable batch export.

Use this macro for a focused task. Use Solidise when you need repeatable export, BOM review, previews or where-used context across many files.

Visit Solidise

Related macros

Keep automating this workflow

Custom Properties Advanced

CSV custom property update

Reads a CSV file containing file paths, configuration names and property values, then updates SOLIDWORKS custom properties.

PartAssemblyDrawingUpdated custom properties
Download .bas source
Custom Properties Intermediate

Title block property sync

Copies key custom properties from the first referenced model into the drawing so title blocks can resolve consistently.

DrawingUpdated drawing properties
Download .bas source