Accuracy Event
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpAccuracyEvent |
| Module | cenpylib.CENPyOlpAccuracyEvent |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 6 |
| Inherits from | CENPyOlpBuiltInEvent |
Inheritance
Quick Start
# Boilerplate Example
# Acquire the event object from the runtime context
accuracyEvent = ... # provided by the frameworkMethod Index
| Method | Returns | Summary |
|---|---|---|
GetAccuracy | float | Gets the value stored on this accuracy event instance |
SetAccuracy | — | Sets the accuracy value for this event instance |
GetPathType | int | Retrieve the path type that this event is associated with. |
SetPathType | — | Set the path type that this event will be associated with. |
GetCriteria | int | Retrieve the accuracy criteria. |
SetCriteria | — | Set the accuracy criteria. |
Query Methods
GetAccuracy
def GetAccuracy() -> floatGets the value stored on this accuracy event instance
Returns: float — returns the accuracy event value
GetPathType
def GetPathType() -> intRetrieve the path type that this event is associated with.
Returns: int — path type
GetCriteria
def GetCriteria() -> intRetrieve the accuracy criteria.
Returns: int — accuracy criteria
Mutation Methods
SetAccuracy
def SetAccuracy(accuracy: float)Sets the accuracy value for this event instance
Parameters:
| Name | Type | Description |
|---|---|---|
accuracy | float | new accuracy value |
SetPathType
def SetPathType(inPathType: int)Set the path type that this event will be associated with.
Parameters:
| Name | Type | Description |
|---|---|---|
inPathType | int | path type |
SetCriteria
def SetCriteria(inCriteria: int)Set the accuracy criteria.
Parameters:
| Name | Type | Description |
|---|---|---|
inCriteria | int | new accuracy criteria |
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?