Python scripting OLP - Callbacks

IOlpSeries

 

Kernel class callback

Operator class

Return value type

Default return value

Python script file name

PostSeriesInitAttributes

CENPyOlpSeries_AttribInitOperator



%SeriesName%.py

PostSeriesInitEvents

CENPyOlpSeries_EventInitOperator



PostSeriesOnAttribChanged

CENPyOlpSeries_AttribChangedOperator



GetRegShapeStyle


RegShapeStyle

REGSHAPESTYLE_NOTDEFINED

 

 

With python property callbacks it is possible to overwrite properties defined in controller package DLLs.

 

RegShapeStyle

# See TestAssets\TechDLRecomp\Customer_Plugins\Jenoptik_Plugin\ControllerPackages\Staeubli

 

def GetRegShapeStyle():

   return REGSHAPESTYLE_JENOPTIKLIKE

 


Previous
Page précédente
Chapter
Page principale du chapitre
Next
Page suivante