Skip to Content

Actor

Quick Facts

PropertyValue
ClassCENPyOlpActor
Modulecenpylib.CENPyOlpActor
Packagecenpylib
ReleaseR2025.2.4
Methods5

Quick Start

# Boilerplate Example actor = ... # obtained from the runtime context result = actor.GetName()

Method Index

MethodReturnsSummary
GetNamestrGet name of the OlpActor.
GetResourceNamestrGet name of the Resource.
AskItemTypeintGets the type of this item
AskItemSubTypeintGets the item’s subtype
GetNumberOfAsynchronousJointsintGets number of the asynchronous joints

Query Methods

GetName

def GetName() -> str

Get name of the OlpActor.

Returns: str — name of the actor.

GetResourceName

def GetResourceName() -> str

Get name of the Resource.

Returns: str — Name of the Resource.

GetNumberOfAsynchronousJoints

def GetNumberOfAsynchronousJoints() -> int

Gets number of the asynchronous joints

Returns: int — number of the asynchronous joints

Utilities

AskItemType

def AskItemType() -> int

Gets the type of this item

Returns: int — the type of this item

AskItemSubType

def AskItemSubType() -> int

Gets the item’s subtype

Returns: int — current subtype

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?