Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
WCrihfield
in reply to: Anonymous

I'm not sure what you are asking.  It looks like your code is designed so that, when you select one of the three available options, it will add the selected sub-assembly to the main assembly, then delete the other two sub-assemblies from the main assembly.  If you don't want it to delete the other two sub-assemblies, just delete the two lines of code following the Add line for each iteration of the If statement.  Or do you want to Suppress the other two sub-assemblies, instead of delete them?

What exactly are you trying to do?

Wesley Crihfield

EESignature

(Not an Autodesk Employee)