The object of the CENPyOlpTech_RecipeOperator class is passed to the PrevExecuteRecipe callback as a parameter.
It can be used to obtain the required operators within the scope of the PrevExecuteRecipe callback in the %TechnologyName%.py script file, located in the folder of the plugin.
[Example]
.py
def PrevExecuteRecipe(recipeOperator):
return(False) # False - Technology predefined recipe will be executed after this callback, True - Technology predefined recipe will not be executed
Method is deprecated, consider using GetSelectedProcessGeometries() method instead
•
|
GetActiveProcessGeometries(): list
|
[Example]
pgOperators = recipeOperator.GetActiveProcessGeometries()
•
|
GetSelectedProcessGeometries(): list
|
[Example]
pgOperators = recipeOperator.GetSelectedProcessGeometries()
[Example]
opGroup = recipeOperator.GetOperationGroup()
[Example]
gtc = recipeOperator.GetGroupsToCompute()
[Example]
attribGetter = recipeOperator.GetAttribGetter()
[Example]
logOperator = recipeOperator.GetLoggerOperator()
|