Python scripting - Event rule callbacks

PostExecute

 

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

 

The callback is defined in %RULE_NAME%.py file.

 

PostExecuteRules

 

[Example]

 

def PostExecute(reo):

    tpes = reo.FindTpElementsByType(EVENTPROCESS_INPROCESS)

    for x in tpes:

        reo.AddTpe(x)

 


PostExecuteRules_Ex

 


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