Model.hm_getinternalname_bypoolid#

Model.hm_getinternalname_bypoolid(id_pool, solver_name)#

Returns the internal name for the specified /pool ID.

Parameters:
  • id_pool (int) – The pool ID for wjich to return the internal name.

  • solver_name (hwString) – The entity solver name.

Returns:

Example#

Get the internal name of the node set with solver name S1 by specify the pool i d#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getinternalname_bypoolid(id_pool=1, solver_name="S1")

print("internalName", result.internalName)