Model.hm_info_emptylist#
- Model.hm_info_emptylist(entity_type)#
Returns the list of empty entities of the given entity type.
- Parameters:
entity_type (EntityFullType) – The entity class for which to return the empty entities.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:empty_entities (list) - List of entity objects representing the empty entities of the specified type.
Example#
Return the list of empty sets#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_info_emptylist(ent.Set) print(f"Empty set IDs: {[entity.id for entity in result.empty_entities]}")