← All projects
AutomationmacroWorkflow development

Assembly Part Search Tool

A SolidWorks VBA search and navigation tool for large assemblies, with ranked text matching and temporary visibility isolation.

MY CONTRIBUTIONBuilt component indexing, ranked matching and temporary isolate/restore logic.
SolidWorks APIVBAMSFormsWindows API

THE CHALLENGE

Find and inspect the right component instance without losing assembly visibility state.

KEY ENGINEERING DECISION

Rank multiple name representations and preserve a visibility snapshot before isolating a component.

Explore the engineering approach ↗

EVIDENCE AND SCOPE

Readable VBA source; companion UserForm required. SolidWorks execution is outside the browser demo.

Result: I built a search and navigation workflow that helps engineers locate part instances and temporarily isolate them while preserving assembly visibility.

Explore the project checks ↗

Illustrative schematic · conceptual geometry.

01 / THE PROBLEM

The engineering challenge.

Finding and isolating a part instance in a large assembly is slow when users must browse the feature tree manually.

02 / CONSTRAINTS

What the solution must consider.

  • Must preserve prior component visibility, avoid re-entrant form events, and remain responsive while browsing results.

03 / ENGINEERING APPROACH

Reasoning before geometry.

01

Engineering method

Normalize several component-name representations, score candidates, map list rows back to component objects, and maintain an explicit visibility snapshot for fast isolate mode.

02

Workflow features

Component index for searchable part instances; Ranked exact, token, fuzzy, and edit-distance matching; Preview, select, isolate, zoom, and visibility restore; Mouse-wheel handling for the result list.

04 / DESIGN & IMPLEMENTATION

Connecting intent to execution.

R10.1.1 combines component indexing, ranked search, form events, mouse-wheel handling and an isolation state machine. Installation requires the companion frmPartSearch UserForm.

  • Component index for searchable part instances
  • Ranked exact, token, fuzzy, and edit-distance matching
  • Preview, select, isolate, zoom, and visibility restore
  • Mouse-wheel handling for the result list

05 / VALIDATION

The checks behind the design.

Workflow development

The module defines the search, interaction and visibility-restoration logic. Installation and runtime checks require SolidWorks and the companion UserForm.

100

maximum displayed results

Configured result-list limit in R10.1.1.

06 / OUTCOME

The value of the work.

I built a search and navigation workflow that helps engineers locate part instances and temporarily isolate them while preserving assembly visibility.

THE ENGINEERING PRINCIPLE

Navigation tools must preserve the engineer’s working context.

A useful assembly search does more than match text: it helps distinguish similar parts, focus the right occurrence, and restore visibility after inspection. Exact, token and fuzzy matching answer different kinds of queries.

A question for a technical conversation

How would you handle repeated components, configurations and visibility restoration in a large assembly?

Read code & workflow ↗

LET’S BUILD SOMETHING THAT WORKS

Good design belongs
on the shop floor.

Considering a role in mechanical design, manufacturing methods,
fixture design, or estimation? Let’s connect.