Actor
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpActor |
| Module | cenpylib.CENPyOlpActor |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 5 |
Quick Start
# Boilerplate Example
actor = ... # obtained from the runtime context
result = actor.GetName()Method Index
| Method | Returns | Summary |
|---|---|---|
GetName | str | Get name of the OlpActor. |
GetResourceName | str | Get name of the Resource. |
AskItemType | int | Gets the type of this item |
AskItemSubType | int | Gets the item’s subtype |
GetNumberOfAsynchronousJoints | int | Gets number of the asynchronous joints |
Query Methods
GetName
def GetName() -> strGet name of the OlpActor.
Returns: str — name of the actor.
GetResourceName
def GetResourceName() -> strGet name of the Resource.
Returns: str — Name of the Resource.
GetNumberOfAsynchronousJoints
def GetNumberOfAsynchronousJoints() -> intGets number of the asynchronous joints
Returns: int — number of the asynchronous joints
Utilities
AskItemType
def AskItemType() -> intGets the type of this item
Returns: int — the type of this item
AskItemSubType
def AskItemSubType() -> intGets the item’s subtype
Returns: int — current subtype
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?