Skip to Content

Accuracy Event

Quick Facts

PropertyValue
ClassCENPyOlpAccuracyEvent
Modulecenpylib.CENPyOlpAccuracyEvent
Packagecenpylib
ReleaseR2025.2.4
Methods6
Inherits fromCENPyOlpBuiltInEvent

Inheritance

Quick Start

# Boilerplate Example # Acquire the event object from the runtime context accuracyEvent = ... # provided by the framework

Method Index

MethodReturnsSummary
GetAccuracyfloatGets the value stored on this accuracy event instance
SetAccuracySets the accuracy value for this event instance
GetPathTypeintRetrieve the path type that this event is associated with.
SetPathTypeSet the path type that this event will be associated with.
GetCriteriaintRetrieve the accuracy criteria.
SetCriteriaSet the accuracy criteria.

Query Methods

GetAccuracy

def GetAccuracy() -> float

Gets the value stored on this accuracy event instance

Returns: float — returns the accuracy event value

GetPathType

def GetPathType() -> int

Retrieve the path type that this event is associated with.

Returns: int — path type

GetCriteria

def GetCriteria() -> int

Retrieve the accuracy criteria.

Returns: int — accuracy criteria

Mutation Methods

SetAccuracy

def SetAccuracy(accuracy: float)

Sets the accuracy value for this event instance

Parameters:

NameTypeDescription
accuracyfloatnew accuracy value

SetPathType

def SetPathType(inPathType: int)

Set the path type that this event will be associated with.

Parameters:

NameTypeDescription
inPathTypeintpath type

SetCriteria

def SetCriteria(inCriteria: int)

Set the accuracy criteria.

Parameters:

NameTypeDescription
inCriteriaintnew accuracy criteria

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?