Skip to Content
FASTSUITE E2API RéférencePython APIRappelsIOlpEventRuleIOlpEventRule

IOlpEventRule

Rappel de classe noyauClasse opérateurType de valeur de retourValeur de retour par défautNom du fichier script Python
PostExecuteCENPyOlpEventRuleOperator%EventRuleName%.py
GetUniqueIdCorde""
GetRuleProcessTypeEventProcessTypeEVENTPROCESS_NONE
GetInsertPositionTPInsertPositionTPINSERTPOS_INSERTNONE
GetActiveEventInt0
GetVisibilityBoolFaux
Besoin de sélectionBoolFaux
GetSelectabilityBoolFaux
HasDefaultBoolFaux
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?