Skip to Content

Upload Operation

Quick Facts

PropertyValue
ClassULPythonOperation
Modulecenpyupload.ULPythonOperation
Packagecenpyupload
ReleaseR2025.2.4
Methods8
Inherits fromDULPythonOperation

Inheritance

Method Index

MethodReturnsSummary
SetMotions—Set the motions for the operation
AddMotion—add a motion to the operation
SetUsedBaseProfile—Set the used based profile for the motion
SetUsedToolProfile—Set the used tool profile for the motion
SetOperationGroup—Set the parent operation group for the motion
SetAttributes—Set the attributes of the operation
SetName—Set the name of the profile
AddAttribute—Add an attribute to the attribute list

Mutation Methods

SetMotions

def SetMotions(motions: list)

Set the motions for the operation

Parameters:

NameTypeDescription
motionslistlist of motions to be set

AddMotion

def AddMotion(motion: ULPythonMotion)

add a motion to the operation

Parameters:

NameTypeDescription
motionULPythonMotionmotion to be added

SetUsedBaseProfile

def SetUsedBaseProfile(baseProfile: DULPythonBaseProfile)

Set the used based profile for the motion

Parameters:

NameTypeDescription
baseProfileDULPythonBaseProfileused base profile

SetUsedToolProfile

def SetUsedToolProfile(toolProfile: DULPythonToolProfile)

Set the used tool profile for the motion

Parameters:

NameTypeDescription
toolProfileDULPythonToolProfileused tool profile

SetOperationGroup

def SetOperationGroup(parentOperationGroup: ULPythonOperationGroup)

Set the parent operation group for the motion

Parameters:

NameTypeDescription
parentOperationGroupULPythonOperationGroupthe parent operation group

SetAttributes

def SetAttributes(attributes: list)

Set the attributes of the operation

Parameters:

NameTypeDescription
attributeslistattributes to be set

SetName

def SetName(name: str)

Set the name of the profile

Parameters:

NameTypeDescription
namestrname to be set

AddAttribute

def AddAttribute(attrib: OlpCorePythonAttribute)

Add an attribute to the attribute list

Parameters:

NameTypeDescription
attribOlpCorePythonAttributeattribute to be added

Version Notes

This class is documented as of release R2026.1.1.

Was this page helpful?