Upload Motion
Quick Facts
| Property | Value |
|---|---|
| Class | ULPythonMotion |
| Module | cenpyupload.ULPythonMotion |
| Package | cenpyupload |
| Release | R2025.2.4 |
| Methods | 10 |
| Inherits from | DULPythonMotion |
Inheritance
Method Index
| Method | Returns | Summary |
|---|---|---|
SetOperation | — | Set the motion operation |
SetPosition | — | Set the motion’s position |
SetViaPosition | — | Set the motion’s via position |
SetMotionType | — | Set motion type |
SetEventsBefore | — | Set the events before for the motion |
SetEventsAfter | — | Set the after events for the motion |
AddEventBefore | — | Adds an event for this motion, at the end of events list positioned before |
AddEventAfter | — | Adds an event for this motion, at the end of events positioned after |
SetAttributes | — | Set the attributes of the motion |
SetName | — | Set the name for the motion |
Mutation Methods
SetOperation
def SetOperation(operation: ULPythonOperation)Set the motion operation
Parameters:
| Name | Type | Description |
|---|---|---|
operation | ULPythonOperation | operation to be set |
SetPosition
def SetPosition(position: ULPythonPosition)Set the motion’s position
Parameters:
| Name | Type | Description |
|---|---|---|
position | ULPythonPosition | position to be set |
SetViaPosition
def SetViaPosition(viaPosition: ULPythonPosition)Set the motion’s via position
Parameters:
| Name | Type | Description |
|---|---|---|
viaPosition | ULPythonPosition | via position to be set |
SetMotionType
def SetMotionType(motionType: int)Set motion type
Parameters:
| Name | Type | Description |
|---|---|---|
motionType | int | motion type |
SetEventsBefore
def SetEventsBefore(eventsBefore: list)Set the events before for the motion
Parameters:
| Name | Type | Description |
|---|---|---|
eventsBefore | list | before events to be set |
SetEventsAfter
def SetEventsAfter(eventsAfter: list)Set the after events for the motion
Parameters:
| Name | Type | Description |
|---|---|---|
eventsAfter | list | after events to be set |
AddEventBefore
def AddEventBefore(event: ULPythonEvent)Adds an event for this motion, at the end of events list positioned before
Parameters:
| Name | Type | Description |
|---|---|---|
event | ULPythonEvent | event to add before this motion |
AddEventAfter
def AddEventAfter(event: ULPythonEvent)Adds an event for this motion, at the end of events positioned after
Parameters:
| Name | Type | Description |
|---|---|---|
event | ULPythonEvent | event to add after this motion |
SetAttributes
def SetAttributes(attributes: list)Set the attributes of the motion
Parameters:
| Name | Type | Description |
|---|---|---|
attributes | list | attributes to be set |
SetName
def SetName(name: str)Set the name for the motion
Parameters:
| Name | Type | Description |
|---|---|---|
name | str | name to be set |
Related Types
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?