Skip to Content

Tool Event

Quick Facts

PropertyValue
ClassCENPyOlpToolEvent
Modulecenpylib.CENPyOlpToolEvent
Packagecenpylib
ReleaseR2025.2.4
Methods3
Inherits fromCENPyOlpBuiltInEvent

Inheritance

Quick Start

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

Method Index

MethodReturnsSummary
OnSet tool state to ON.
OffSet tool state to OFF.
GetStateboolGet the tool state.

Query Methods

GetState

def GetState() -> bool

Get the tool state.

Returns: bool — Tool state.

Utilities

On

def On()

Set tool state to ON.

Off

def Off()

Set tool state to OFF.

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?