The object of the CENPyOlpProgramProcessGeometryOperator class is passed to the ProgramProcessGeometries callbacks as a parameter.
It can be used to obtain the required operators within the scope of the ProgramProcessGeometries callback in the Auxiliary commands script files, located in the folder of the plugin.
[Example]
def ProgramProcessGeometries(operator: CENPyOlpProgramProcessGeometryOperator):
pass
This operator gives the possibility to log issues resulting by user input.
[Example]
logOperator = operator.GetLoggerOperator()
This operator gives the possibility to work with CSV files. Please check the CENPyOlpCsvParserOperator class to see all available functions.
[Example]
csvParser = operator.GetCsvParserOperator()
This method returns the parent controller.
[Example]
controller = operator.GetController()
Returns the active program of the controller, nullptr, if there is no program.
[Example]
activeProgram = operator.GetActiveProgram()
Get a list of all selected process geometries.
[Example]
processGeometries = operator.GetSelectedProcessGeometries()
•
|
GetStartStateNames(): list
|
|
|
list of existing start state names
|
Get a list of all start state names from the current project.
[Example]
startStateNames = operator.GetStartStateNames()
|