Model.hm_morph_getmvoledge#

Model.hm_morph_getmvoledge(node1, node2)#

Returns the morph volume edge ID for the specified nodes along the edge.

Parameters:
  • node1 (Entity) – The object describing the node entity of the first node on the edge.

  • node2 (Entity) – The object describing the node entity of the second node on the edge.

Returns:

Example#

Find the edge run through nodes with IDs 5 and 8#
import hm
import hm.entities as ent

model = hm.Model()

_,result = model.hm_morph_getmvoledge(node1=ent.Node(model, 5), node2=ent.Node(model, 8))

print("edgeID",result.edgeID)