set_property#

CircuitComponent.set_property(name: str, value) bool#

Set a part property.

Parameters:
namestr

Name of the property.

value

Value for the property.

Returns:
bool

True when successful, False when 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)