Model.hm_entityinfo_named#
- Model.hm_entityinfo_named(entity_type)#
Returns a boolean if an entity type is named.
- Parameters:
entity_type (EntityFullType) – The entity type to be queried.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:isNamed (bool)
Example#
Find if elements is named entity type in Optistruct profile#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_entityinfo_named(entity_type=ent.Element) print("Is Named:", result.isNamed)