Skip to Content

Upload Event

Quick Facts

PropertyValue
ClassULPythonEvent
Modulecenpyupload.ULPythonEvent
Packagecenpyupload
ReleaseR2025.2.4
Methods6
Inherits fromDULPythonEvent

Inheritance

Method Index

MethodReturnsSummary
SetMotionsSet the motions for the event
AddMotionadd a motion to the event
SetAttributesSet the attributes of the event
SetNameSet the name for the program component
SetInsertPositionSets the insert position for this event
AddAttributeAdd an attribute to the attribute list

Mutation Methods

SetMotions

def SetMotions(pyMotions: list)

Set the motions for the event

Parameters:

NameTypeDescription
pyMotionslistmotions to be set

AddMotion

def AddMotion(motion: ULPythonMotion)

add a motion to the event

Parameters:

NameTypeDescription
motionULPythonMotionmotion to be added

SetAttributes

def SetAttributes(attributes: list)

Set the attributes of the event

Parameters:

NameTypeDescription
attributeslistattributes to be set

SetName

def SetName(name: str)

Set the name for the program component

Parameters:

NameTypeDescription
namestrname to be set

SetInsertPosition

def SetInsertPosition(insertPosition: int)

Sets the insert position for this event

Parameters:

NameTypeDescription
insertPositionintnew insert position

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 R2025.2.4.

Was this page helpful?