Model.dependencycheck#
- Model.dependencycheck(collection)#
Checks nodes for multiple dependence.
- Parameters:
collection (Collection) – The collection containing the node entities to check for dependence.
Example#
Check the nodes with IDs 1 , 2 , 4 and 4 for dependence#import hm import hm.entities as ent model = hm.Model() # Creating collection containing node with ID 1 input_collection = hm.Collection(model, ent.Node, [1, 2, 3, 4]) model.dependencycheck(collection=input_collection)