Assembly Navigation macro

SOLIDWORKS Macro: Open Selected Component

Opens the selected assembly component in its own SOLIDWORKS window.

AssemblyOpened componentBeginner

What this macro does

Opens the selected assembly component in its own SOLIDWORKS window.

Best for

  • Assembly cleanup
  • Fast part editing
  • Reviewing vendor components

Inputs

  • Active assembly with one selected component

Outputs

Opened component

Filename rules

No file export.

How to use

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

  • Requires a component selection, not just a face or edge selection.

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
Assembly Navigation Intermediate

Open parent assembly

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

PartAssemblyOpened assembly
Download .bas source