Model.activatetransformations#
- Model.activatetransformations(collection, flag)#
Apply or unapply all the transformations in the model.
- Parameters:
collection (Collection) – The collection containing the position entities.
flag (int) –
A flag with valid values:
0 - Unapply
1 - Apply
Example#
Apply all the transformations in the model#import hm import hm.entities as ent model = hm.Model() model.activatetransformations(collection=hm.Collection(model, ent.Position), flag=1)