Core Program Component
Quick Facts
| Property | Value |
|---|---|
| Class | OlpCorePythonProgramComponent |
| Module | cenpyolpcore.OlpCorePythonProgramComponent |
| Package | cenpyolpcore |
| Release | R2025.2.4 |
| Methods | 2 |
| Inherits from | OlpCorePythonAttributeProvider |
| Subclasses | Download Motion, Download Position, Core Event, Core Operation, Core Operation Group, Core Program, Core Subprogram, Upload Program Component |
Inheritance
Quick Start
# Boilerplate Example
coreProgramComponent = ... # obtained from the runtime context
result = coreProgramComponent.GetName()Method Index
| Method | Returns | Summary |
|---|---|---|
GetName | str | Gets the name of the program component |
GetInheritedAttributes | list | Gets all attributes that affect this instance including the onces set within the parent chain. |
Query Methods
GetName
def GetName() -> strGets the name of the program component
Returns: str — returns the program component name as string
GetInheritedAttributes
def GetInheritedAttributes() -> listGets all attributes that affect this instance including the onces set within the parent chain.
Returns: list — returns a list of attributes that affect this instance and can be overridden
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?