Core Program
Quick Facts
| Property | Value |
|---|---|
| Class | OlpCorePythonProgram |
| Module | cenpyolpcore.OlpCorePythonProgram |
| Package | cenpyolpcore |
| Release | R2025.2.4 |
| Methods | 1 |
| Inherits from | OlpCorePythonProgramComponent |
| Subclasses | Download Program |
Inheritance
Quick Start
# Boilerplate Example
coreProgram = ... # obtained from the runtime context
result = coreProgram.IsMainProgram()Method Index
| Method | Returns | Summary |
|---|---|---|
IsMainProgram | bool | Gets the isMainProgram flag |
Query Methods
IsMainProgram
def IsMainProgram() -> boolGets the isMainProgram flag
Returns: bool — returns True if the program is marked as main program, False otherwise
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?