Model.updatepositions#
- Model.updatepositions(collection)#
Reorganize entities in case of an addition, removal, or deletion of transformations, or a change in transformation order operations.
- Parameters:
collection (Collection) – The collection containing the position entities to reorganize.
Example#
Update all positions in the model#import hm import hm.entities as ent model = hm.Model() # Creating a collection that contains all the position entities in the model. position_collection = hm.Collection(model, ent.Position) model.updatepositions(collection=position_collection)