Model.clearlock#
- Model.clearlock(entity_type, dataname)#
Clears all entity locks for a specified entity type.
- Parameters:
entity_type (EntityFullType) – The type of entity to clear locks for.
dataname (hwString) – The dataname to clear locks for. Currently only supported for “id”.
Example#
Clear ID locks for all elements#import hm import hm.entities as ent model = hm.Model() model.clearlock(entity_type=ent.Element, dataname="id")