Model.hm_entityinfo_configids#
- Model.hm_entityinfo_configids(entity_type)#
Returns for the current template the configuration ID for the specified entity type.
- Parameters:
entity_type (EntityFullType) – The entity type on which the list of configuaration IDs is queried. Currently supported for elements and loads.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:configIds (numpy.ndarray)
Example#
Find the configuration IDs for element entities in Optistruct profile#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_entityinfo_configids(entity_type=ent.Element) print("Configuration Type IDs:", result.configIds)