Skip to Content
FASTSUITE E2API ReferencePython APIAPI DomainsUploadUpload Motion

Upload Motion

Quick Facts

PropertyValue
ClassULPythonMotion
Modulecenpyupload.ULPythonMotion
Packagecenpyupload
ReleaseR2025.2.4
Methods10
Inherits fromDULPythonMotion

Inheritance

Method Index

MethodReturnsSummary
SetOperationSet the motion operation
SetPositionSet the motion’s position
SetViaPositionSet the motion’s via position
SetMotionTypeSet motion type
SetEventsBeforeSet the events before for the motion
SetEventsAfterSet the after events for the motion
AddEventBeforeAdds an event for this motion, at the end of events list positioned before
AddEventAfterAdds an event for this motion, at the end of events positioned after
SetAttributesSet the attributes of the motion
SetNameSet the name for the motion

Mutation Methods

SetOperation

def SetOperation(operation: ULPythonOperation)

Set the motion operation

Parameters:

NameTypeDescription
operationULPythonOperationoperation to be set

SetPosition

def SetPosition(position: ULPythonPosition)

Set the motion’s position

Parameters:

NameTypeDescription
positionULPythonPositionposition to be set

SetViaPosition

def SetViaPosition(viaPosition: ULPythonPosition)

Set the motion’s via position

Parameters:

NameTypeDescription
viaPositionULPythonPositionvia position to be set

SetMotionType

def SetMotionType(motionType: int)

Set motion type

Parameters:

NameTypeDescription
motionTypeintmotion type

SetEventsBefore

def SetEventsBefore(eventsBefore: list)

Set the events before for the motion

Parameters:

NameTypeDescription
eventsBeforelistbefore events to be set

SetEventsAfter

def SetEventsAfter(eventsAfter: list)

Set the after events for the motion

Parameters:

NameTypeDescription
eventsAfterlistafter events to be set

AddEventBefore

def AddEventBefore(event: ULPythonEvent)

Adds an event for this motion, at the end of events list positioned before

Parameters:

NameTypeDescription
eventULPythonEventevent to add before this motion

AddEventAfter

def AddEventAfter(event: ULPythonEvent)

Adds an event for this motion, at the end of events positioned after

Parameters:

NameTypeDescription
eventULPythonEventevent to add after this motion

SetAttributes

def SetAttributes(attributes: list)

Set the attributes of the motion

Parameters:

NameTypeDescription
attributeslistattributes to be set

SetName

def SetName(name: str)

Set the name for the motion

Parameters:

NameTypeDescription
namestrname to be set

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?