Upload Operator — Lifecycle
Back to Upload Operator.
CreateEmptyProgram
def CreateEmptyProgram() -> ULPythonProgramCreates a new empty program
Returns: ULPythonProgram — returns the newly created program as ULPythonProgram
CreateEmptySubprogram
def CreateEmptySubprogram() -> ULPythonSubprogramCreates an empty subprogram
Returns: ULPythonSubprogram — returns the newly created subprogram call as ULPythonSubprogram
CreateEmptyOperationGroup
def CreateEmptyOperationGroup() -> ULPythonOperationGroupCreates an operation group
Returns: ULPythonOperationGroup — returns the newly created operation group as ULPythonOperationGroup
CreateEmptyOperation
def CreateEmptyOperation() -> ULPythonOperationCreates an operation
Returns: ULPythonOperation — returns the newly created operation as ULPythonOperation
CreateEmptyMotion
def CreateEmptyMotion() -> ULPythonMotionCreates an empty motion objects
Returns: ULPythonMotion — returns the newly created motion as ULPythonMotion
CreateEmptyPosition
def CreateEmptyPosition() -> ULPythonPositionCreates an empty position object
Returns: ULPythonPosition — returns the newly created position as ULPythonPosition
CreateEmptyEvent
def CreateEmptyEvent() -> ULPythonEventCreates an empty event
Returns: ULPythonEvent — returns the newly created event as ULPythonEvent
CreateEmptyToolProfile
def CreateEmptyToolProfile() -> ULPythonToolProfileCreates an empty tool profile
Returns: ULPythonToolProfile — returns the newly created tool profile as ULPythonToolProfile
CreateEmptyBaseProfile
def CreateEmptyBaseProfile() -> ULPythonBaseProfileCreates 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) -> ULPythonBaseProfileCreates new olp base frame and Base profile
Parameters:
| Name | Type | Description |
|---|---|---|
baseProfileName | str | The name of relative profile |
x | float | X offset |
y | float | Y offset |
z | float | Z offset |
rX | float | rX rotation |
rY | float | rY rotation |
rZ | float | rZ rotation |
Returns: ULPythonBaseProfile — a Base profile or null object
CreateOlpBaseFrameProfileFromMatrix
def CreateOlpBaseFrameProfileFromMatrix(baseProfileName: str, matrix: list[float]) -> ULPythonBaseProfileCreates new olp base frame and Base profile
Parameters:
| Name | Type | Description |
|---|---|---|
baseProfileName | str | The name of relative profile |
matrix | list[float] | >Matrix represented by double array[16] |
Returns: ULPythonBaseProfile — a Base profile or null object