Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
m.joudivand
1982 Views, 15 Replies

Selecting a part in an assembly in Inventor drawing using VB code

Hi Community,

I need to select a part in an assembly view in Invnetor drawing. The assembly includes many of that part, located in different areas therefore it takes a considerable time to pick them one by one. Are you able to let me know can it be handled using a VB code? Is it possible to enter a part name and run a code to select all the parts featuring that name?

I need it because I should move the parts to a new layer to change their line style (color, thickness and ...). This means selection mode should be set as "Select Edge Proiority".

Waiting for your help.

Thanks in advance

Mohammad