Model.clearpreservednodes#
- Model.clearpreservednodes(collection)#
Clears the selected nodes that were marked as preserved.
- Parameters:
collection (Collection) – The collection containing the preserved node entities to clear.
Example#
Clear preserved nodes with IDs 1-4#import hm import hm.entities as ent model = hm.Model() model.clearpreservednodes(collection=hm.Collection(model, ent.Node, list(range(1, 5))))