Model.hm_entityinfo_dimension#

Model.hm_entityinfo_dimension(entity_type, config_name)#

Returns the dimension for the given configuration name.

Parameters:
  • entity_type (EntityFullType) – The entity type on which the dimension for the specified configuration name is queried. Currently supported for elements.

  • config_name (hwString) – The configuration name.

Returns:

Example#

Find the dimension for config_name="quad4 " element entities in Optistruct profile#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_entityinfo_dimension(entity_type=ent.Element, config_name="quad4")

print("Dimension:", result.configDimension)