Download Motion
Quick Facts
| Property | Value |
|---|---|
| Class | DULPythonMotion |
| Module | cenpydownload.DULPythonMotion |
| Package | cenpydownload |
| Release | R2025.2.4 |
| Methods | 9 |
| Inherits from | OlpCorePythonProgramComponent |
| Subclasses | Upload Motion |
Inheritance
Quick Start
# Boilerplate Example
downloadMotion = ... # obtained from the runtime context
result = downloadMotion.GetPosition()Method Index
| Method | Returns | Summary |
|---|---|---|
GetPosition | DULPythonPosition | Gets motion position |
GetViaPosition | DULPythonPosition | Gets motion via position |
GetMotionType | MotionType | Gets motion type of this motion |
IsCircularMotion | bool | Gets the flag indicating a circular motion |
IsLinearMotion | bool | Gets the flag indicating a linear motion |
IsReferenceMotion | bool | Gets the flag indicating a reference motion |
IsPtPMotion | bool | Gets the flag indicating a point-to-point motion |
GetEventsBefore | list | Gets list of events executed before |
GetEventsAfter | list | Gets list of events executed after |
Query Methods
GetPosition
def GetPosition() -> DULPythonPositionGets motion position
Returns: DULPythonPosition — returns position of this motion
GetViaPosition
def GetViaPosition() -> DULPythonPositionGets motion via position
Returns: DULPythonPosition — returns position of this motion
GetMotionType
Since R2025.2.4
def GetMotionType() -> MotionTypeGets motion type of this motion
Returns: MotionType — returns motion type of this motion
IsCircularMotion
def IsCircularMotion() -> boolGets the flag indicating a circular motion
Returns: bool — returns True if motion is circular, False otherwise
IsLinearMotion
def IsLinearMotion() -> boolGets the flag indicating a linear motion
Returns: bool — returns True if motion is linear, False otherwise
IsReferenceMotion
def IsReferenceMotion() -> boolGets the flag indicating a reference motion
Returns: bool — returns True if motion is event suppressed, False otherwise
IsPtPMotion
def IsPtPMotion() -> boolGets the flag indicating a point-to-point motion
Returns: bool — returns True if motion is PtP, False otherwise
GetEventsBefore
def GetEventsBefore() -> listGets list of events executed before
Returns: list — before events list
GetEventsAfter
def GetEventsAfter() -> listGets list of events executed after
Returns: list — after events list
Related Types
Changes in R2025.2.4
Compared to R2025.1:
-
Method count increased from 8 to 9
-
[NEW]
GetMotionType: New method added
Version Notes
This class is documented as of release R2025.2.4.