SetPropValue [Project]

Sets a property value for an active project's child object.

UI Access Edit Properties on ProjectTree objects.
Parameters
Name Type Description
<propPath> String A child object's property path. See: Property Function.
<newValue> String New property value.
Return Value Boolean:
  • True – property found.
  • False – property not found.

 

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

oProject.SetPropValue("TeeModel/offset", "2mm")

oProject.SetPropValue("TeeModel/Results/S Parameter Plot 1/Display Type", "Data Table")