Model.createcenternode#
- Model.createcenternode(node_entity1, node_entity2, node_entity3)#
Creates a node at the center of a circle defined by 3 input nodes.
- Parameters:
node_entity1 (Entity) – The object describing the first node entity defining the circle.
node_entity2 (Entity) – The object describing the second node entity defining the circle.
node_entity3 (Entity) – The object describing the third node entity defining the circle.
Example#
Create a node at the center of the circle defined by nodes with IDs 100, 200 and 300#import hm import hm.entities as ent model = hm.Model() model.createcenternode( node_entity1=ent.Node(model, 100), node_entity2=ent.Node(model, 200), node_entity3=ent.Node(model, 300), )