Skip to Content

Upload Operator — Lifecycle

Back to Upload Operator.

CreateEmptyProgram

def CreateEmptyProgram() -> ULPythonProgram

Creates a new empty program

Returns: ULPythonProgram — returns the newly created program as ULPythonProgram

CreateEmptySubprogram

def CreateEmptySubprogram() -> ULPythonSubprogram

Creates an empty subprogram

Returns: ULPythonSubprogram — returns the newly created subprogram call as ULPythonSubprogram

CreateEmptyOperationGroup

def CreateEmptyOperationGroup() -> ULPythonOperationGroup

Creates an operation group

Returns: ULPythonOperationGroup — returns the newly created operation group as ULPythonOperationGroup

CreateEmptyOperation

def CreateEmptyOperation() -> ULPythonOperation

Creates an operation

Returns: ULPythonOperation — returns the newly created operation as ULPythonOperation

CreateEmptyMotion

def CreateEmptyMotion() -> ULPythonMotion

Creates an empty motion objects

Returns: ULPythonMotion — returns the newly created motion as ULPythonMotion

CreateEmptyPosition

def CreateEmptyPosition() -> ULPythonPosition

Creates an empty position object

Returns: ULPythonPosition — returns the newly created position as ULPythonPosition

CreateEmptyEvent

def CreateEmptyEvent() -> ULPythonEvent

Creates an empty event

Returns: ULPythonEvent — returns the newly created event as ULPythonEvent

CreateEmptyToolProfile

def CreateEmptyToolProfile() -> ULPythonToolProfile

Creates an empty tool profile

Returns: ULPythonToolProfile — returns the newly created tool profile as ULPythonToolProfile

CreateEmptyBaseProfile

def CreateEmptyBaseProfile() -> ULPythonBaseProfile

Creates an empty base profile

Returns: ULPythonBaseProfile — returns the newly created base profile as ULPythonBaseProfile

CreateOlpBaseFrameProfileFromPositionRotation

def CreateOlpBaseFrameProfileFromPositionRotation(baseProfileName: str, x: float, y: float, z: float, rX: float, rY: float, rZ: float) -> ULPythonBaseProfile

Creates new olp base frame and Base profile

Parameters:

NameTypeDescription
baseProfileNamestrThe name of relative profile
xfloatX offset
yfloatY offset
zfloatZ offset
rXfloatrX rotation
rYfloatrY rotation
rZfloatrZ rotation

Returns: ULPythonBaseProfile — a Base profile or null object

CreateOlpBaseFrameProfileFromMatrix

def CreateOlpBaseFrameProfileFromMatrix(baseProfileName: str, matrix: list[float]) -> ULPythonBaseProfile

Creates new olp base frame and Base profile

Parameters:

NameTypeDescription
baseProfileNamestrThe name of relative profile
matrixlist[float]>Matrix represented by double array[16]

Returns: ULPythonBaseProfile — a Base profile or null object

Was this page helpful?