Model.nodemarkcleartempmark#

Model.nodemarkcleartempmark(collection)#

Clears a group of nodes from the temporary node state.

Parameters:

collection (Collection) – The collection containing the node entities to be removed from the temporary node state.

Example#

Remove nodes with IDs 6 , 7 , and 8 from the temporary node collection :#
import hm
import hm.entities as ent

model = hm.Model()

node_collection = hm.Collection(model, ent.Node, [6, 7, 8])

model.nodemarkcleartempmark(collection=node_collection)