GetPropSIValue

Returns the SI-Value for Value-Property and Variable. Return NAN for other property type if its value is not able to convert to be a double-floating point value.

Note:

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

UI Access N/A
Parameters
Name Type Description
<PropName> String Name of the property.
Return Value Property value as a double floating value, or NAN if the property value cannot be converted to double floating point.

 

Python Syntax GetPropSIValue (<PropName>)
Python Example

oCreateBox = oDesign.GetChildObject("3D Modeler/Box1/CreateBox:1")

oCreateBox.GetPropValue("xSize")

return "length / 2"

oCreateBox.GetPropEvaluatedValue("xSize")

return '0.4mm'

oCreateBox.GetPropSIValue("xSize")

return 0.0004