set_temperature_dependence#

Modeler3DLayout.set_temperature_dependence(include_temperature_dependence: bool = True, enable_feedback: bool = True, ambient_temp: int = 22, create_project_var: bool = False) bool#

Set the temperature dependence for the design.

Parameters:
include_temperature_dependencebool, optional

Whether to include the temperature setting for the design. The default is True.

enable_feedbackbool, optional

Whether to enable feedback. The default is True.

ambient_tempfloat, optional

Ambient temperature. The default is 22.

create_project_varbool, optional

Whether to create a project variable for the ambient temperature. The default is False. If True, $AmbientTemp is created.

Returns:
bool

True when successful, False when failed.

References

>>> oDesign.SetTemperatureSettings

Examples

>>> from ansys.aedt.core.modeler.modeler_pcb import Modeler3DLayout
>>> obj = Modeler3DLayout()
>>> obj.set_temperature_dependence(include_temperature_dependence=True, enable_feedback=True)