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