Model.hm_morph_gethandlenode#
- Model.hm_morph_gethandlenode(handle)#
Returns the node ID for the specified handle.
- Parameters:
handle (Entity) – The object describing the handle entity.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:node (Entity) - Entity Type:
Node
Example#
Get the node ID for a handle with ID 2#import hm import hm.entities as ent model = hm.Model() _,result = model.hm_morph_gethandlenode(handle=ent.Handle(model, 2)) print("node",result.node)