Skip to Content
FASTSUITE E2API ReferencePython APIAPI DomainsDownloadDownload Motion

Download Motion

Quick Facts

PropertyValue
ClassDULPythonMotion
Modulecenpydownload.DULPythonMotion
Packagecenpydownload
ReleaseR2025.2.4
Methods9
Inherits fromOlpCorePythonProgramComponent
SubclassesUpload Motion

Inheritance

Quick Start

# Boilerplate Example downloadMotion = ... # obtained from the runtime context result = downloadMotion.GetPosition()

Method Index

MethodReturnsSummary
GetPositionDULPythonPositionGets motion position
GetViaPositionDULPythonPositionGets motion via position
GetMotionTypeMotionTypeGets motion type of this motion
IsCircularMotionboolGets the flag indicating a circular motion
IsLinearMotionboolGets the flag indicating a linear motion
IsReferenceMotionboolGets the flag indicating a reference motion
IsPtPMotionboolGets the flag indicating a point-to-point motion
GetEventsBeforelistGets list of events executed before
GetEventsAfterlistGets list of events executed after

Query Methods

GetPosition

def GetPosition() -> DULPythonPosition

Gets motion position

Returns: DULPythonPosition — returns position of this motion

GetViaPosition

def GetViaPosition() -> DULPythonPosition

Gets motion via position

Returns: DULPythonPosition — returns position of this motion

GetMotionType

Since R2025.2.4

def GetMotionType() -> MotionType

Gets motion type of this motion

Returns: MotionType — returns motion type of this motion

IsCircularMotion

def IsCircularMotion() -> bool

Gets the flag indicating a circular motion

Returns: bool — returns True if motion is circular, False otherwise

IsLinearMotion

def IsLinearMotion() -> bool

Gets the flag indicating a linear motion

Returns: bool — returns True if motion is linear, False otherwise

IsReferenceMotion

def IsReferenceMotion() -> bool

Gets the flag indicating a reference motion

Returns: bool — returns True if motion is event suppressed, False otherwise

IsPtPMotion

def IsPtPMotion() -> bool

Gets the flag indicating a point-to-point motion

Returns: bool — returns True if motion is PtP, False otherwise

GetEventsBefore

def GetEventsBefore() -> list

Gets list of events executed before

Returns: list — before events list

GetEventsAfter

def GetEventsAfter() -> list

Gets list of events executed after

Returns: list — after events list

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.

Was this page helpful?