BOM macro

SOLIDWORKS Macro: BOM Checker for Missing Properties

Scans BOM rows for missing part number, description, material and revision values, then writes a CSV report.

DrawingAssemblyCSV reportIntermediate

What this macro does

Scans BOM rows for missing part number, description, material and revision values, then writes a CSV report.

Best for

  • Release readiness checks
  • BOM quality control
  • Property cleanup before export

Inputs

  • Open drawing or assembly with BOM table

Outputs

CSV report

Filename rules

{document}_bom_property_check.csv.

How to use

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

  • Checks visible BOM table text.
  • For workspace-wide BOM visibility and where-used search, use Solidise.

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

BOM Intermediate

BOM/table to CSV

Finds BOM or general tables in the active drawing or assembly and exports their visible cells to CSV, with optional Excel automation.

DrawingAssemblyCSVXLSX
Download .bas source