Controller — Mutation Methods
Back to Controller.
SetActiveProgram
Since R2025.2.4
def SetActiveProgram(activeProgram: CENPyOlpProgram) -> intGet active controller program.
Parameters:
| Name | Type | Description |
|---|---|---|
activeProgram | CENPyOlpProgram | Program 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:
| Name | Type | Description |
|---|---|---|
frame | CENPyOlpFrame | The tool frame to set as active. |
SetActiveBaseFrame
def SetActiveBaseFrame(frame: CENPyOlpFrame)Sets the active base frame on the controller.
Parameters:
| Name | Type | Description |
|---|---|---|
frame | CENPyOlpFrame | The base frame to set as active. |
Was this page helpful?