Python scripting - Event rule callbacks

PostExecute

Previous  Chapter  Next

 

The callback PostExecute(CENPyOlpEventRuleOperator) is called when the kernel computes the events.  

 

The callback is defined in the %RULE_NAME%.py file that is located in the scripts folder of the plugin.

 

PostExecuteRules

 

[Example]

 

def PostExecute(reo):

    tpes = reo.FindTpElementsByType(EVENTPROCESS_INPROCESS)

    for x in tpes:

        reo.AddTpe(x)

 


PostExecuteRules_Ex

 


Previous
Previous page
Chapter
Chapter page
Next
Next page