Set object property via LabTalk property name
SetNumProp(strVarName, dVal)
Returns 1 if lpcszVarName is a valid name and 0 if it is not. -1 if error occurs
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)
GetNumProp