Skip to Content

Position — Query Methods

Back to Position.

GetCoordinates

def GetCoordinates() -> list

Get all toolpath element coordinates.

Returns: list — List with X, Y and Z coordinates.

GetViaPointCoordinates

def GetViaPointCoordinates() -> list

Get all via point coordinates.

Returns: list — List with X, Y and Z coordinates.

GetOrientation

def GetOrientation() -> list

Get all orientations.

Returns: list — List with RX, RY and RZ orientations.

GetRefTpElement

def GetRefTpElement() -> CENPyOlpTpElement

Get the reference toolpath element.

Returns: CENPyOlpTpElement — >Olp toolpath element.

GetPositionRelation

def GetPositionRelation() -> int

Get the relation of the position.

Returns: int — Relation of the position.

GetMatrix

def GetMatrix() -> CENPyOlpMatrix

Get the represented toolpath element matrix.

Returns: CENPyOlpMatrix — Matrix.

GetViaPointMatrix

def GetViaPointMatrix() -> CENPyOlpMatrix

Get the represented via point matrix.

Returns: CENPyOlpMatrix — Matrix.

GetViaPointName

def GetViaPointName() -> str

Get the name of the Via point if it exists, nullptr otherwise.

Returns: str — Via point name.

GetJointValues

def GetJointValues() -> list

Get all toolpath element joint values.

Returns: list — Joint values list.

GetExternalJointValues

def GetExternalJointValues() -> list

Get all toolpath element external joint values.

Returns: list — Joint values list.

Was this page helpful?