Python scripting - Workmethod operators

CENPyOlpWM_AttribInitOperator

Previous  Chapter  Next

 

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, located in the folder of the plugin.

 

[Example]

 

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
Previous page
Chapter
Chapter page
Next
Next page