SetPropValue [Optimetrics]

Sets the property value for the active Optimetrics setup.

UI Access Set Property value on Optimetrics objects
Parameters
Name Type Description
Property path text string Setup property path. See discussion of Property Path
new Value Text String, Number, or Boolean New value data type is depending on the property type,
Return Value True if the property is found and the new value is valid. Otherwise return False.

 

Python Syntax SetPropValue(propPath, newValue)
Python Example

oOptModule.SetPropValue("ParametricSetup1\Enabled", False) //disable ParametricSetup1

oOptModule.SetPropValue("OptimizationSetup1/Optimizer","Quasi Newton")