Tp Element
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpTpElement |
| Module | cenpylib.CENPyOlpTpElement |
| Package | cenpylib |
| Release | R2026.1.1 |
| Methods | 26 |
Quick Start
# Boilerplate Example
tpElement = ... # obtained from the runtime context
result = tpElement.GetName()Query Methods
| Method | Returns | Summary |
|---|---|---|
GetName | str | Get the name of the toolpath element. |
GetTrack | CENPyOlpTrack | Get the track corresponding to this toolpath element. |
GetProcessType | int | Get the process type of the toolpath element. |
GetMotionType | int | Get the motion type of the toolpath element. |
GetTargetType | int | Gets the target type of the underlying toolpath element. |
GetConfigBehavior | int | Gets the config behavior of the underlying toolpath element. |
GetConfigUserString | str | Gets the config user string of the underlying toolpath element. |
GetTurnBehavior | int | Gets the turn behavior of the underlying toolpath element. |
GetTurnUserString | str | Gets the turn user string of the underlying toolpath element. |
GetCollisionStatus | int | Gets the collision status of the underlying toolpath element. |
GetSimulationCollisionStatus | int | Gets the collision status of the underlying toolpath element from the simulation. |
GetReachabilityStatus | int | Gets the reachability status of the underlying toolpath element. |
GetSingularityStatus | int | Gets the singularity status of the underlying toolpath element. |
GetTeachFlags | int | Gets the teach flags indicating the modifications made to the underlying toolpath element. |
GetMatrix | CENPyOlpMatrix | Gets the current matrix of the toolpath element. |
GetViaPointMatrix | CENPyOlpMatrix | Gets the current matrix of the via point of the toolpath element. |
GetInitialPathMatrix | CENPyOlpMatrix | Get the initial path matrix which has been saved after PathCompute but before AlignmentCompute. |
GetInitialPathMatrixTranslatedInBaseFrame | CENPyOlpMatrix | Get the initial path matrix moved with the given coordinates relative to the specified base frame. |
GetGlobalTransformedMatrix | CENPyOlpMatrix | Get the path matrix which has been saved after global transformation compute in aligned state. |
GetGlobalTransformedMatrixUnaligned | CENPyOlpMatrix | Get the path matrix which has been saved after global transformation compute in unaligned state. |
GetBaseFrameTransformedMatrixUnaligned | CENPyOlpMatrix | Gets the matrix of the toolpath element on a GlobalTransformed compute state without alignment information with respect to base frame. |
GetInitialNeighbourMatrix | CENPyOlpMatrix | Get the next or previous toolpath element, relative to the current one, within the current operation. |
GetMatrixToActiveBaseFrame | CENPyOlpMatrix | Get the toolpath element matrix with respect to active (output) base frame. |
GetMatrixToBaseFrame | CENPyOlpMatrix | Get the toolpath element matrix with respect to the given base frame index. |
GetStateMatrixByType | CENPyOlpMatrix | Gets the matrix of the toolpath element by compute state, with alignment and world-matrix options. |
Mutation Methods
| Method | Returns | Summary |
|---|---|---|
SetName | — | Set the name of the toolpath element. |
Related Types
Changes in R2026.1.1
Compared to R2026.1:
-
Method count increased from 24 to 26
-
[NEW]
GetViaPointMatrix: New method added -
[NEW]
GetStateMatrixByType: New method added
Version Notes
This class is documented as of release R2026.1.1.
Was this page helpful?