Model.makepreservednodes#
- Model.makepreservednodes(collection)#
Makes the selected nodes preserved.
- Parameters:
collection (Collection) – The collection containing the node entities to presrve.
Example#
Make nodes with IDs 1 - 4 as preserved#import hm import hm.entities as ent model = hm.Model() model.makepreservednodes(collection=hm.Collection(model, ent.Node, [1, 2, 3, 4]))