Model.unlockallentities#
- Model.unlockallentities(entity_type, pool_id, dataname='')#
Unlock all entities with the same entity type and ID pool across includes.
- Parameters:
entity_type (EntityFullType) – The type of the entity to unlock.
pool_id (unsigned int) – The ID of the solver pool.
dataname (hwString) – Must be set to id.
Example#
Unlock all elements with ID pool 2#import hm import hm.entities as ent model = hm.Model() model.unlockallentities(entity_type=ent.Element, pool_id=2, dataname="id")