Skip to Content
FASTSUITE E2API ReferencePython APIAPI DomainsOperatorsWM_Rule Update Operator

WM_Rule Update Operator

Quick Facts

PropertyValue
ClassCENPyOlpWM_RuleUpdateOperator
Modulecenpylib.CENPyOlpWM_RuleUpdateOperator
Packagecenpylib
ReleaseR2025.2.4
Methods5

Quick Start

# Boilerplate Example wM_RuleUpdateOperator = ... # obtained from the runtime context result = wM_RuleUpdateOperator.GetRuleName()

Method Index

MethodReturnsSummary
AddEventAdd an event to the rule update operator.
GetRuleNamestrGet the name of the rule.
GetActiveEventNamestrGet the name of the currently active event.
SetActiveEventCompare all existing event names with the given name and set the first matched event as active.
OverrideEventRuleInsertPositionSet the new insert position for the event rule.

Query Methods

GetRuleName

def GetRuleName() -> str

Get the name of the rule.

Returns: str — Rule name.

GetActiveEventName

def GetActiveEventName() -> str

Get the name of the currently active event.

Returns: str — Active event name.

Mutation Methods

AddEvent

def AddEvent(eventName: str)

Add an event to the rule update operator.

Parameters:

NameTypeDescription
eventNamestrKernel or Python-defined event name.

SetActiveEvent

def SetActiveEvent(eventName: str)

Compare all existing event names with the given name and set the first matched event as active.

Parameters:

NameTypeDescription
eventNamestrKernel or Python-defined name of the event to activate.

Utilities

OverrideEventRuleInsertPosition

def OverrideEventRuleInsertPosition(insertPosition: int)

Set the new insert position for the event rule.

Parameters:

NameTypeDescription
insertPositionintNew insert position.

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?