Python scripting - Workmethod operators

CENPyOlpWM_AttribInitOperator

 

The object of the CENPyOlpWM_AttribInitOperator class is passed to the PostWmInitAttributes callback as a parameter.

It can be used to obtain the required operators within the scope of the PostWmInitAttributes callback in the %WORK_METHOD%.py script file.

 

[Example]

File: Samples\JenoptikPluginUpdated\Plugin\TechnologyPackages\LaserCuttingTechnology\Jenoptik\REGSHAPE_METHOD.py

 

def PostWmInitAttributes(WmAttribInitOperator):

   pass

 

 

Methods

 

GetAttribCreator(): CENPyOlpAttribCreator

 

o

return

Object of CENPyOlpAttribCreator class

 

[Example]

   attribCreator = WmAttribInitOperator.GetAttribCreator()

 


 

GetAttribGetter(): CENPyOlpAttribGetter

 

o

return

Object of CENPyOlpAttribGetter class

 

[Example]

   attribGetter = WmAttribInitOperator.GetAttribGetter()

 


 

GetAttribSetter(): CENPyOlpAttribSetter

 

o

return

Object of CENPyOlpAttribSetter class

 

[Example]

   attribSetter = WmAttribInitOperator.GetAttribSetter()

 


 

GetLoggerOperator(): CENPyOlpLogOperator

 

o

return

Object of CENPyOlpLogOperator class

 

[Example]

   logOperator = WmAttribInitOperator.GetLoggerOperator()

 


 

 


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