Python scripting - Technology operators

CENPyOlpTech_MfGeoInitOperator

 

The object of CENPyOlpTech_MfGeoInitOperator class is passed to the PostInitManufacturingGeometry callback as a parameter.

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

 

[Example]

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

 

def PostInitManufacturingGeometry(techMfGeoInitOperator):

   pass

 

 

Methods

 

GetAttribGetter(): CENPyOlpAttribGetter

 

o

return

Object of CENPyOlpAttribGetter class

 

[Example]

   attribGetter = techMfGeoInitOperator.GetAttribGetter()

 


 

GetAttribSetter(): CENPyOlpAttribSetter

 

o

return

Object of CENPyOlpAttribSetter class

 

[Example]

   attribSetter = techMfGeoInitOperator.GetAttribSetter()

 

 


 

GetLoggerOperator(): CENPyOlpLogOperator

 

o

return

Object of CENPyOlpLogOperator class

 

[Example]

   logOperator = techMfGeoInitOperator.GetLoggerOperator()

 

 


 

AddSystemAttrib(attrib: CENPyOlpAttribute)

 

o

attrib

Object of CENPyOlpAttribute class

 

[Example]

def PostInitManufacturingGeometry(techMfGeoInitOperator):

   attribGetter = techMfGeoInitOperator.GetAttribGetter()

   sysAttribGetter = attribGetter.GetSystemAttribGetter()

   aTranslationX = sysAttribGetter.GetTranslationX()

   techMfGeoInitOperator.AddSystemAttrib(aTranslationX)

 


 

GetCurrentProcessGeometryOperator(): CENPyOlpProcessGeometryOperator

 

o

return

Object of CENPyOlpProcessGeometryOperator class

 

[Example]

   currentPGoperator = TechMfGeoInitOperator.GetCurrentProcessGeometryOperator()

 


 

 


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