Model.hm_getinternalname_bypoolname#

Model.hm_getinternalname_bypoolname(pool_name, solver_name)#

Returns the internal name for the specified pool string.

Parameters:
  • pool_name (hwString) – The pool name for which 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 name#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getinternalname_bypoolname(pool_name="PROP_IDPOOL", solver_name="S1")

print("internalName", result.internalName)