Python scripting in offline progranmming

Callbacks

Previous  Chapter  Next

 

The Edition 2 kernel provides callbacks to Python at certain operations where it is possible to extend the functionality with a scripting language.

 

The table below lists the available callback methods. In the column “Operator class” you can see the class of callback argument. The column “Python script file name” shows in which file the callback is located.

 

 

Kernel class

Python callback method

Python operator class

Python script file name

AuxiliaryCommands

ModifyActiveProgram

CENPyOlpProgramModifyOperator

*.py

ProgramProcessGeometries

CENPyOlpProgramProcessGeometryOperator

DynamicLimits

CheckJointsDynamicLimits

-

*.py

IOlpTechnology

PostTechInitAttributes

CENPyOlpTech_AttribInitOperator

%TechnologyName%.py

PostTechInitEvents

CENPyOlpTech_EventInitOperator

PostTechInitRules

CENPyOlpTech_RuleInitOperator

PostInitManufacturingGeometry

CENPyOlpTech_MfGeoInitOperator

PrevExecuteRecipe

CENPyOlpTech_RecipeOperator

PostProcessOperationGroupAttributes

CENPyOlpTech_POGAttribOperator

PostTechOnAttribChanged

CENPyOlpTech_AttribChangedOperator

PostTechOnFrameChanged

CENPyOlpFrameChangedOperator

PostTechUpdate

CENPyOlpTech_UpdateOperator

IOlpWorkMethod

PostWmInitAttributes

CENPyOlpWM_AttribInitOperator

%WORK_METHOD%.py

PostWmInitEvents

CENPyOlpWM_EventInitOperator

PostWmInitRules

CENPyOlpWM_RuleInitOperator

PostWmSyncPgAttributes

CENPyOlpWM_SyncPgAttribOperator

PostProcessOperationAttributes

CENPyOlpWM_POAttribOperator

PostWmOnAttribChanged

CENPyOlpWM_AttribChangedOperator

PostWmOnFrameChanged

CENPyOlpFrameChangedOperator

IOlpEvent

PostInitAttributes

CENPyOlpEvent_AttribInitOperator

%EventName%.py

PostProcessAttributes

CENPyOlpEvent_PEOperator

PostCompute

CENPyOlpEvent_EventComputeOperator

PostProcessAttributesUpload

CENPyOlpEvent_PEOperatorUpload

PostOnAttribChanged

CENPyOlpEvent_AttribChangedOperator

GetEventName


GetEventUuId

GetIconName

GetGroupName

GetMultipleCreationIsPossible

GetEventType

GetCycleExplodeBehavior

GetCycleRotationFlag *

GetCycleTranslationFlag *

GetCycleRotationAutoFlag

GetCycleRotationManualFlag

GetCycleTranslationAutoFlag

GetCycleTranslationManualFlag

IsMachiningCycle

GetCycleReferenceBehavior

 

IOlpEventRule

PostExecute

CENPyOlpEventRuleOperator

 

%EventRuleName%.py

GetUniqueId


GetRuleProcessType

GetInsertPosition

GetActiveEvent

GetVisibility

NeedSelection

GetSelectability

HasDefault

IOlpSeries

PostSeriesInitAttributes

CENPyOlpSeries_AttribInitOperator

%SeriesName%.py

PostSeriesInitEvents

CENPyOlpSeries_EventInitOperator

PostSeriesOnAttribChanged

CENPyOlpSeries_AttribChangedOperator

GetRegShapeStyle


 

* = Deprecated, but still supported. 

 



Previous
Previous page
Chapter
Chapter page
Next
Next page