Skip to Content

Upload Position

Quick Facts

PropertyValue
ClassULPythonPosition
Modulecenpyupload.ULPythonPosition
Packagecenpyupload
ReleaseR2025.2.4
Methods11
Inherits fromDULPythonPosition

Inheritance

Method Index

MethodReturnsSummary
SetMotion—Set the motion for current position
SetXYZ—Set the position’s coordinates
SetOrientation—Set the position’s orientation
SetConfig—Set the position config
SetTurn—Set the turn for the position
SetProcessType—Set the process type of the position
SetTargetType—Set the target type of the position
SetExplicitMainJointValues—Set explicit the main joint values on each joint for the position
SetExplicitExternalJointValues—Set explicit the external joint values for the position on each external joint
SetAttributes—Set the attributes of the position
SetName—Set the name of the position

Mutation Methods

SetMotion

def SetMotion(motion: ULPythonMotion)

Set the motion for current position

Parameters:

NameTypeDescription
motionULPythonMotionmotion to be set

SetXYZ

def SetXYZ(position: list)

Set the position’s coordinates

Parameters:

NameTypeDescription
positionlistA tuple of three doubles representing (x, y, z) coordinates in meters.

SetOrientation

def SetOrientation(orientation: list)

Set the position’s orientation

Parameters:

NameTypeDescription
orientationlistA tuple of three doubles representing (Rx, Ry, Rz) rotation angles in degrees.

SetConfig

def SetConfig(config: str)

Set the position config

Parameters:

NameTypeDescription
configstrconfig to be set

SetTurn

def SetTurn(turn: str)

Set the turn for the position

Parameters:

NameTypeDescription
turnstrturn to be set

SetProcessType

def SetProcessType(processType: int)

Set the process type of the position

Parameters:

NameTypeDescription
processTypeintprocess type to be set

SetTargetType

def SetTargetType(targetType: int)

Set the target type of the position

Parameters:

NameTypeDescription
targetTypeinttarget type to be set

SetExplicitMainJointValues

def SetExplicitMainJointValues(mainJointValues: list)

Set explicit the main joint values on each joint for the position

Parameters:

NameTypeDescription
mainJointValueslistmain values to be set, input argument is a vector of pairs : the joint object and its value list[tuple[DULPythonJoint, float]]

SetExplicitExternalJointValues

def SetExplicitExternalJointValues(externalJointValues: list)

Set explicit the external joint values for the position on each external joint

Parameters:

NameTypeDescription
externalJointValueslistexternal joint values to be set, input argument is a vector of pairs : the joint object and its double value

SetAttributes

def SetAttributes(attributes: list)

Set the attributes of the position

Parameters:

NameTypeDescription
attributeslistattributes to be set

SetName

def SetName(name: str)

Set the name of the position

Parameters:

NameTypeDescription
namestrname to be set

Version Notes

This class is documented as of release R2026.1.1.

Was this page helpful?