Assembly Navigation macro

SOLIDWORKS Macro: Open Parent Assembly Candidate

Searches a selected folder for assemblies that reference the active model and opens the first candidate.

PartAssemblyOpened assemblyIntermediate

What this macro does

Searches a selected folder for assemblies that reference the active model and opens the first candidate.

Best for

  • Where-used checks
  • Design context recovery
  • Part-to-assembly navigation

Inputs

  • Open saved part/assembly
  • Folder to scan for .SLDASM files

Outputs

Opened assembly

Filename rules

No export files created.

How to use

  1. Test on copied SOLIDWORKS files first.
  2. Download and import OpenParentAssembly.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

  • Folder scanning can be slow on very large workspaces.
  • For indexed where-used across a workspace, 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

Assembly Navigation Beginner

Open associated drawing

Opens the likely drawing for the active model or selected assembly component by checking same-folder and configured search paths.

PartAssemblyDrawingOpened drawing
Download .bas source