Skip to Content
FASTSUITE E2API ReferencePython APICallbacksIOlpEventRuleIOlpEventRule

IOlpEventRule

Kernel class callbackOperator classReturn value typeDefault return valuePython script file name
PostExecuteCENPyOlpEventRuleOperator%EventRuleName%.py
GetUniqueIdString""
GetRuleProcessTypeEventProcessTypeEVENTPROCESS_NONE
GetInsertPositionTPInsertPositionTPINSERTPOS_INSERTNONE
GetActiveEventInt0
GetVisibilityBoolFalse
NeedSelectionBoolFalse
GetSelectabilityBoolFalse
HasDefaultBoolFalse
from centypes import * def GetUniqueId(): return "F8FA5044-2109-447C-ABF9-3D89AB910451" def GetRuleProcessType(): return EVENTPROCESS_RETRACT def GetInsertPosition(): return TPINSERTPOS_INSERTAFTER def GetActiveEvent(): return 0 def GetVisibility(): return True def NeedSelection(): return True; def GetSelectability(): return True; def HasDefault(): return True; def PostExecute(reo): tpes = reo.FindTpElementsByType(EVENTPROCESS_INPROCESS) for x in tpes: reo.AddTpe(x)
Was this page helpful?