SetPropValue [Modeler]

Sets the property value for the active model property.

Note:

This command is not supported by the EMIT and Circuit design types.

UI Access Edit Properties on History Tree objects
Parameters
Name Type Description
<propPath> String Child object's property path. See: Object Property Function Summary.
<value> Varies New property value.
Return Value Boolean:
  • True – property found.
  • False – property not found.

 

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

oEditor.SetPropValue("Color/r",111)