Model.hm_morph_getmvolface#
- Model.hm_morph_getmvolface(mvol, node1, node2, node3)#
Returns the morph volume face ID for the specified morph volume and nodes along the edges of that face.
- Parameters:
mvol (Entity) – The object describing the morph volume entity.
node1 (Entity) – The object describing the first node entity on the edge.
node2 (Entity) – The object describing the second node entity on the edge.
node3 (Entity) – The object describing the third node entity on the edge.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:faceID (int)
Example#
Find the face of morph volume with ID 2 use nodes with IDs 5 , 8 and 12#import hm import hm.entities as ent model = hm.Model() _,result = model.hm_morph_getmvolface( mvol=ent.Morphvolume(model, 2), node1=ent.Node(model, 5), node2=ent.Node(model, 8), node3=ent.Node(model, 12) ) print("faceID",result.faceID)