Get object property via LabTalk property name
GetNumProp(strVarName)
The value of the object property
EX1
import PyOrigin #assumes the active graph has a line object gl = PyOrigin.ActiveLayer() line=gl.GraphObjects('Line') print('color=',line.GetNumProp('color')) line.SetNumProp('color', 2)
SetNumProp