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
- Test on copied SOLIDWORKS files first.
- Download and import
OpenParentAssembly.basinto a SOLIDWORKS VBA macro project. - Open the required document type: Part, Assembly.
- Run
mainfrom the macro editor or assign it to a toolbar button. - 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.