Model.morphupdatedomainmethod#
- Model.morphupdatedomainmethod(dcollection, method)#
Updates method for selected 1D domains.
- Parameters:
dcollection (Collection) – The collection containing the input domain entities.
method (int) –
1 - Independent
2 - Secondary
3 - Main
4 - Cluster
Example#
Update the method for assign handles and dependencies for the selected interactively 1D domains. Handles may be created or deleted during this operation as well as have the dependencies changed for handles on other domains#import hm import hm.entities as ent model = hm.Model() model.morphupdatedomainmethod( dcollection=hm.CollectionByInteractiveSelection(model, ent.Domain), method=3 )