Model.morphsetactive#
- Model.morphsetactive(ecollection)#
Sets an active parameter for either morph constraints or symmetries.
- Parameters:
ecollection (Collection) – The collection containing the symmetry or morphconstraint entities to be set to active.
Example#
Set symmetry entities with IDs 10,11 to active#import hm import hm.entities as ent model = hm.Model() # Creating collection containing symmetries with IDs 10, 11 input_collection = hm.Collection(model, ent.Symmetry, [10, 11]) model.morphsetactive(ecollection=input_collection)
Note
All selected entities will be set to active. Non-selected entities will be set to inactive