Skip to Content

Controller — Mutation Methods

Back to Controller.

SetActiveProgram

Since R2025.2.4

def SetActiveProgram(activeProgram: CENPyOlpProgram) -> int

Get active controller program.

Parameters:

NameTypeDescription
activeProgramCENPyOlpProgramProgram to set active on the controller.

Returns: int — int: Status code (0 = success, non-zero = error).

SetActiveToolFrame

def SetActiveToolFrame(frame: CENPyOlpFrame)

Sets the active tool frame on the controller.

Parameters:

NameTypeDescription
frameCENPyOlpFrameThe tool frame to set as active.

SetActiveBaseFrame

def SetActiveBaseFrame(frame: CENPyOlpFrame)

Sets the active base frame on the controller.

Parameters:

NameTypeDescription
frameCENPyOlpFrameThe base frame to set as active.
Was this page helpful?