set_property_value#

Rect3dLayout.set_property_value(name: str, value: str) bool#

Set a property value.

Parameters:
namestr

Name of the property.

valuestr

Value of the property.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.ChangeProperty

Examples

>>> from ansys.aedt.core.modeler.pcb.object_3d_layout import Object3DLayout
>>> obj = Object3DLayout()
>>> obj.set_property_value(name="MyObject", value=1)