Skip to Content

Core Program

Quick Facts

PropertyValue
ClassOlpCorePythonProgram
Modulecenpyolpcore.OlpCorePythonProgram
Packagecenpyolpcore
ReleaseR2025.2.4
Methods1
Inherits fromOlpCorePythonProgramComponent
SubclassesDownload Program

Inheritance

Quick Start

# Boilerplate Example coreProgram = ... # obtained from the runtime context result = coreProgram.IsMainProgram()

Method Index

MethodReturnsSummary
IsMainProgramboolGets the isMainProgram flag

Query Methods

IsMainProgram

def IsMainProgram() -> bool

Gets 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?