set_objects_deformation#
- Modeler2D.set_objects_deformation(assignment: list) bool#
Assign deformation objects to a Workbench link.
- Parameters:
- assignment
list List of the deformation objects to assign to the Workbench link.
- assignment
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oDesign.SetObjectDeformation
Examples
>>> from ansys.aedt.core import Hfss >>> app = Hfss() >>> box = app.modeler.create_box([0, 0, 0], [10, 10, 10]) >>> app.modeler.set_objects_deformation(assignment=box.name)