set_objects_temperature#
- Modeler3D.set_objects_temperature(assignment: list, ambient_temperature: int = 22, create_project_var: bool = False) bool#
Assign temperatures to objects.
The materials assigned to the objects must have a thermal modifier.
- Parameters:
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oDesign.SetObjectTemperature
Examples
>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler >>> obj = GeometryModeler() >>> obj.set_objects_temperature(assignment="Box1")