Skip to Content
FASTSUITE E2API ReferencePython APIAPI DomainsOperatorsTech_Rule Update Operator

Tech_Rule Update Operator

Quick Facts

PropertyValue
ClassCENPyOlpTech_RuleUpdateOperator
Modulecenpylib.CENPyOlpTech_RuleUpdateOperator
Packagecenpylib
ReleaseR2025.2.4
Methods5

Quick Start

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

Method Index

MethodReturnsSummary
AddEventAdd an event to 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 to 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 — Name of the active event.

Mutation Methods

AddEvent

def AddEvent(eventName: str)

Add an event to rule update operator.

Parameters:

NameTypeDescription
eventNamestrName of the event.

SetActiveEvent

def SetActiveEvent(eventName: str)

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

Parameters:

NameTypeDescription
eventNamestrName 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?