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

Delete all components and constraints from an assembly

Hi all, 

I want to make a rule that deletes all the components and constraints in an assembly before running another rule. I know you can do this individually* but as I add to the project, I will have to continuously update this list. How do I make this select all components and constraints in the assembly?

*Individually:

Components.Delete("hosetail")
Components.Delete("HexRawMaterial")
Constraints.Delete("Mate:1")
Constraints.Delete("Mate:2")

 Thanks,

Harvey