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, located in the folder of the plugin.
[Example]
def PostInitManufacturingGeometry(techMfGeoInitOperator):
pass
[Example]
attribGetter = techMfGeoInitOperator.GetAttribGetter()
[Example]
attribSetter = techMfGeoInitOperator.GetAttribSetter()
[Example]
logOperator = techMfGeoInitOperator.GetLoggerOperator()
[Example]
def PostInitManufacturingGeometry(techMfGeoInitOperator):
attribGetter = techMfGeoInitOperator.GetAttribGetter()
sysAttribGetter = attribGetter.GetSystemAttribGetter()
aTranslationX = sysAttribGetter.GetTranslationX()
techMfGeoInitOperator.AddSystemAttrib(aTranslationX)
[Example]
currentPGoperator = TechMfGeoInitOperator.GetCurrentProcessGeometryOperator()
|