Model.clearlock2#
- Model.clearlock2(pool_entity, dataname)#
Clears all entity locks.
- Parameters:
pool_entity (Entity) – The object describing the entity to clear locks for.
dataname (hwString) – Must be set to “id”.
Example#
Clear locks for all elements#import hm import hm.entities as ent model = hm.Model() model.clearlock2(pool_entity=ent.Element, dataname="id")