Model.removeassembly#
- Model.removeassembly(collection)#
Deletes assemblies and their contents, including recursive children.
- Parameters:
collection (Collection) – The collection containing the assembly entities to delete.
Example#
Delete the assemblies with names “ assem1 “ and “ assem2 “ , include all recursive children and their contents#import hm import hm.entities as ent model = hm.Model() model.removeassembly(collection=hm.Collection(model, ent.Part, ["assem1", "assem2"]))