Python scripting - Technology operators

CENPyOlpTech_AttribInitOperator

Previous  Chapter  Next

 

The object of CENPyOlpTech_AttribInitOperator class is passed to the PostTechInitAttributes callback as a parameter.

It can be used to obtain required operators within the scope of the PostTechInitAttributes callback in the %TechnologyName%.py script file, located in the folder of the plugin.

 

[Example]

 

def PostTechInitAttributes(techAttribInitOperator):

   pass

 

 

Methods

 

GetAttribCreator(): CENPyOlpAttribCreator

 

o

return

Object of CENPyOlpAttribCreator class

 

[Example]

   attribCreator = techAttribInitOperator.GetAttribCreator()

 


 

GetAttribGetter(): CENPyOlpAttribGetter

 

o

return

Object of CENPyOlpAttribGetter class

 

[Example]

   attribGetter = techAttribInitOperator.GetAttribGetter()

 

 


 

GetAttribSetter(): CENPyOlpAttribSetter

 

o

return

Object of CENPyOlpAttribSetter class

 

[Example]

   attribSetter = techAttribInitOperator.GetAttribSetter()

  


 

GetLoggerOperator(): CENPyOlpLogOperator

 

o

return

Object of CENPyOlpLogOperator class

 

[Example]

   logOperator = techAttribInitOperator.GetLoggerOperator()

 


 

GetController(): CENPyOlpController

 

o

return

Object of CENPyOlpController class

 

[Example]

   olpController = techAttribInitOperator.GetController()

 


 

 


Previous
Previous page
Chapter
Chapter page
Next
Next page