Model.morphsymmetryupdateaxis#
- Model.morphsymmetryupdateaxis(symptr, sysptr, collectiondomain, enforce, multilat, type, ucyc, orient, mv)#
Updates one symmetry.
- Parameters:
symptr (Entity) – The symmetry entity.
sysptr (Entity) – The system entity.
collectiondomain (Collection) – The collection containing the input domain entities.
enforce (int) –
0 - Approximate
1 - Enforced
multilat (int) –
0 - Unilateral
1 - Multilateral
type (int) – Type of symmetry.
ucyc (int) – Number of cycles for cyclical symmetry.
orient (int) –
0 - Default
1 - x-axis
2 - y-axis
3 - z-axis
mv (int) –
0 - Do not apply to morph volumes.
1 - Apply to morph volumes.
Example#
Update symmetry to specified system and values. All domains are selected interactively and they will be updated to use the selected symmetry with ID 3#import hm import hm.entities as ent model = hm.Model() model.morphsymmetryupdateaxis( symptr=ent.Symmetry(model, 3), sysptr=ent.System(model, 11), collectiondomain=hm.CollectionByInteractiveSelection(model, ent.Domain), enforce=1, multilat=1, type=10, ucyc=3, orient=0, mv=0, )