Model.hm_getdatatypecomponents#

Model.hm_getdatatypecomponents(subcase_id, data_type_name)#

Returns a list of available data components for a specific result subcase and data type.

Parameters:
  • subcase_id (int) – The ID of the result subcase.

  • data_type_name (hwString) – The name of the data type.

Returns:

Example#

Get the list of available data components for data type “ displacement “ for subcase with ID 5#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getdatatypecomponents(subcase_id=5, data_type_name="displacement")

print("dataComponents", result.dataComponents)