SetPropValue [Design]

Sets the property value for the active property object.

UI Access Edit properties on Project Tree objects.
Parameters
Name Type Description
<propPath> String A child object's property path. See: Object Property Script Function Summary.
<Value> String New property value.
Return Value Boolean:
  • True - property found and the new value is valid.
  • False - property not found.

 

Python Syntax SetPropValue(<propPath>, <Value>)
Python Example

oDesign.SetPropValue("offset", "12mm")

oDesign.SetPropValue("Results/S Parameter Plot 1/Display Type", "Rectangular Plot")