Skip to Content
FASTSUITE E2API ReferencePython APIAPI DomainsProgramsProgram Modify Operator

Program Modify Operator

Quick Facts

PropertyValue
ClassCENPyOlpProgramModifyOperator
Modulecenpylib.CENPyOlpProgramModifyOperator
Packagecenpylib
ReleaseR2025.2.4
Methods12

Quick Start

# Boilerplate Example programModifyOperator = ... # obtained from the runtime context result = programModifyOperator.GetAttribGetter()

Method Index

MethodReturnsSummary
GetAttribGetterCENPyOlpAttribGetterGet attribute getter interface which handles the Olp attribute container.
GetAttribSetterCENPyOlpAttribSetterGet attribute setter interface which handles the Olp attribute container.
GetControllerCENPyOlpControllerGet the parent controller interface.
GetLoggerOperatorCENPyOlpLogOperatorGet the log operator interface.
GetCsvParserOperatorCENPyOlpCsvParserOperatorGet the CSV parser operator interface.
GetActiveProgramCENPyOlpProgramGet the active program of the controller, nullptr, if there is no program.
GetComputeHandlerCENPyOlpComputeHandlerGet the compute handler of the parent controller.
GetInterpolationHandlerCENPyOlpInterpolationHandlerGet an interpolation handler.
GetTeachHandlerCENPyOlpTeachHandlerGet the teach handler for the current session.
GetEventHandlerCENPyOlpEventHandlerGet the event handler.
GetProgramTpElementsByNamelist[CENPyOlpTpElement]Get all toolpath elements of the program with the given name.
CreateMatrixCENPyOlpMatrixCreates a new unit matrix.

Lifecycle

CreateMatrix

def CreateMatrix() -> CENPyOlpMatrix

Creates a new unit matrix.

Returns: CENPyOlpMatrix — Newly created matrix

Query Methods

GetAttribGetter

def GetAttribGetter() -> CENPyOlpAttribGetter

Get attribute getter interface which handles the Olp attribute container.

Returns: CENPyOlpAttribGetter — Attribute getter interface.

GetAttribSetter

def GetAttribSetter() -> CENPyOlpAttribSetter

Get attribute setter interface which handles the Olp attribute container.

Returns: CENPyOlpAttribSetter — Attribute setter interface.

GetController

def GetController() -> CENPyOlpController

Get the parent controller interface.

Returns: CENPyOlpController — Controller interface.

GetLoggerOperator

def GetLoggerOperator() -> CENPyOlpLogOperator

Get the log operator interface.

Returns: CENPyOlpLogOperator — Log operator interface.

GetCsvParserOperator

def GetCsvParserOperator() -> CENPyOlpCsvParserOperator

Get the CSV parser operator interface.

Returns: CENPyOlpCsvParserOperator — CSV parser operator interface.

GetActiveProgram

def GetActiveProgram() -> CENPyOlpProgram

Get the active program of the controller, nullptr, if there is no program.

Returns: CENPyOlpProgram — Active off-line program.

GetComputeHandler

def GetComputeHandler() -> CENPyOlpComputeHandler

Get the compute handler of the parent controller.

Returns: CENPyOlpComputeHandler — Compute handler.

GetInterpolationHandler

def GetInterpolationHandler() -> CENPyOlpInterpolationHandler

Get an interpolation handler.

Returns: CENPyOlpInterpolationHandler — Interpolation handler.

GetTeachHandler

def GetTeachHandler() -> CENPyOlpTeachHandler

Get the teach handler for the current session.

Returns: CENPyOlpTeachHandler — Teach handler.

GetEventHandler

def GetEventHandler() -> CENPyOlpEventHandler

Get the event handler.

Returns: CENPyOlpEventHandler — Event handler.

GetProgramTpElementsByName

def GetProgramTpElementsByName(programName: str) -> list[CENPyOlpTpElement]

Get all toolpath elements of the program with the given name. If there is no program with that name the list is going to be empty.

Parameters:

NameTypeDescription
programNamestr

Returns: list[CENPyOlpTpElement] — List of CENPyOlpTpElement objects, found toolpath elements.

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?