Custom Properties macro

SOLIDWORKS Macro: Batch Custom Property Reader/Writer from CSV

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

PartAssemblyDrawingUpdated custom propertiesAdvanced

What this macro does

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

Best for

  • Part number cleanup
  • Revision property updates
  • Title block data repair

Inputs

  • CSV with FilePath, Configuration, PropertyName, Value columns

Outputs

Updated custom properties

Filename rules

Does not export files; writes custom properties to the listed documents.

How to use

  1. Test on copied SOLIDWORKS files first.
  2. Download and import BatchCustomPropertyUpdateFromCsv.bas into a SOLIDWORKS VBA macro project.
  3. Open the required document type: Part, Assembly, Drawing.
  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

  • Always test on copied files first.
  • CSV parsing supports quoted fields but should be kept simple for production use.

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 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