Skip to Content
FASTSUITE E2API ReferencePython APIWorkflowsTechnology Scripts

Technology Scripts

A technology script is a Python file named after the technology (e.g., ArcWelding.py). It lives in the technology scripts folder inside the plugin.

When the kernel processes a technology, it calls these callbacks in order:

Callback Chain

Callback → Operator Class Reference

CallbackOperator classPurpose
PostTechInitAttributesCENPyOlpTech_AttribInitOperatorCreate/read/write technology attributes
PostTechInitEventsCENPyOlpTech_EventInitOperatorRegister technology events
PostTechInitRulesCENPyOlpTech_RuleInitOperatorRegister technology rules
PostInitManufacturingGeometryCENPyOlpTech_MfGeoInitOperatorInitialize manufacturing geometry
PostProcessOperationGroupAttributesCENPyOlpTech_POGAttribOperatorRead/write operation group attributes
PostTechUpdateCENPyOlpTech_UpdateOperatorCalled during technology update
PrevExecuteRecipeCENPyOlpTech_RecipeOperatorRuns before recipe execution
PostTechOnAttribChangedCENPyOlpTech_AttribChangedOperatorReacts to attribute changes
PostTechOnFrameChangedCENPyOlpFrameChangedOperatorReacts to frame changes

Typical Pattern

def PostTechInitAttributes(techAttribInitOperator): # Create custom attributes creator = techAttribInitOperator.GetAttribCreator() creator.AddDouble('WeldSpeed', 10.0, 0, 100, 0.5, USER_ATTRIBUTE | PROCESS_ATTRIBUTE, ATTRIB_SPEED, 'Weld Speed') def PostTechOnAttribChanged(techAttribChangedOperator): # React to user changing an attribute name = techAttribChangedOperator.GetChangedAttribName() if name == 'WeldSpeed': getter = techAttribChangedOperator.GetAttribGetter() speed = getter.GetDouble('WeldSpeed') logOp = techAttribChangedOperator.GetLoggerOperator() logOp.LogInfo(f'Weld speed changed to {speed}')
Was this page helpful?