01-19-2021
07:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-19-2021
07:00 AM
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
(Not an Autodesk Employee)