set_property#
- CircuitComponent.set_property(name: str, value) bool#
Set a part property.
- Parameters:
- name
str Name of the property.
- value
Value for the property.
- name
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oEditor.ChangeProperty
Examples
>>> from ansys.aedt.core.modeler.circuits.object_3d_circuit import CircuitComponent >>> obj = CircuitComponent() >>> obj.set_property(name="MyObject", value=1)