SetPropValue [Radiation]

Sets the property value for the active Radiation property object.

UI Access Edit Properties on ProjectTree objects
Parameters
Name Type Description
propPath text string A Property path begin with a setup name. See property path discussion here.
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, value)
Python Example

oRadModule.SetPropValue('Line1/Num Points', 100) ; Set the Line1 setups’ “Num Points” property to 100.