Program Process Geometry Operator
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpProgramProcessGeometryOperator |
| Module | cenpylib.CENPyOlpProgramProcessGeometryOperator |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 6 |
Quick Start
# Boilerplate Example
programProcessGeometryOperator = ... # obtained from the runtime context
result = programProcessGeometryOperator.GetLoggerOperator()Method Index
| Method | Returns | Summary |
|---|---|---|
GetLoggerOperator | CENPyOlpLogOperator | Get a log operator interface. |
GetCsvParserOperator | CENPyOlpCsvParserOperator | Get a CSV parser operator interface. |
GetController | CENPyOlpController | Get a parent controller interface. |
GetActiveProgram | CENPyOlpProgram | Get an active controller program, nullptr, if there is no program. |
GetSelectedProcessGeometries | list[CENPyOlpProcessGeometryOperator] | Get a list of all selected process geometries. |
GetStartStateNames | list | Get a list of all initial state names from the current project. |
Query Methods
GetLoggerOperator
def GetLoggerOperator() -> CENPyOlpLogOperatorGet a log operator interface.
Returns: CENPyOlpLogOperator — Log operator interface.
GetCsvParserOperator
def GetCsvParserOperator() -> CENPyOlpCsvParserOperatorGet a CSV parser operator interface.
Returns: CENPyOlpCsvParserOperator — CSV parser operator interface.
GetController
def GetController() -> CENPyOlpControllerGet a parent controller interface.
Returns: CENPyOlpController — Controller interface.
GetActiveProgram
def GetActiveProgram() -> CENPyOlpProgramGet an active controller program, nullptr, if there is no program.
Returns: CENPyOlpProgram — Active program.
GetSelectedProcessGeometries
def GetSelectedProcessGeometries(geoTypeFilter: int=PROCGEO_NONE) -> list[CENPyOlpProcessGeometryOperator]Get a list of all selected process geometries.
Parameters:
| Name | Type | Description |
|---|---|---|
geoTypeFilter | int | Type of process geometry to return. Returns all PGs if type is None(0). (default: PROCGEO_NONE) |
Returns: list[CENPyOlpProcessGeometryOperator] — List of CENPyOlpProcessGeometryOperator objects, selected process geometries.
GetStartStateNames
def GetStartStateNames() -> listGet a list of all initial state names from the current project.
Returns: list — Initial state names list.
Related Types
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?