WM_PO Attrib Operator
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpWM_POAttribOperator |
| Module | cenpylib.CENPyOlpWM_POAttribOperator |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 9 |
Quick Start
# Boilerplate Example
wM_POAttribOperator = ... # obtained from the runtime context
result = wM_POAttribOperator.GetAttribGetter()Method Index
| Method | Returns | Summary |
|---|---|---|
GetAttribGetter | CENPyOlpAttribGetter | Get attribute getter interface which handles the Olp attribute container. |
GetAttribSetter | CENPyOlpAttribSetter | Get attribute setter interface which handles the Olp attribute container. |
GetLoggerOperator | CENPyOlpLogOperator | Get the log operator interface. |
GetCsvParserOperator | CENPyOlpCsvParserOperator | Get the CSV parser operator interface. |
GetGeometryOperator | CENPyOlpWM_GeometryOperator | Get the geometry operator. |
GetContourLength | float | Get the contour length if there is a contour process geometry, for all other types 0.0 is returned. |
GetController | CENPyOlpController | Get the parent controller interface. |
GetCurrentProcessGeometryOperator | CENPyOlpProcessGeometryOperator | Get the Process Geometry Operator of the PG that is attached to the current operation. |
GetTechTabFolder | str | Gets the technology table folder path. |
Query Methods
GetAttribGetter
def GetAttribGetter() -> CENPyOlpAttribGetterGet attribute getter interface which handles the Olp attribute container.
Returns: CENPyOlpAttribGetter — Attribute getter interface.
GetAttribSetter
def GetAttribSetter() -> CENPyOlpAttribSetterGet attribute setter interface which handles the Olp attribute container.
Returns: CENPyOlpAttribSetter — Attribute setter interface.
GetLoggerOperator
def GetLoggerOperator() -> CENPyOlpLogOperatorGet the log operator interface.
Returns: CENPyOlpLogOperator — Log operator interface.
GetCsvParserOperator
def GetCsvParserOperator() -> CENPyOlpCsvParserOperatorGet the CSV parser operator interface.
Returns: CENPyOlpCsvParserOperator — CSV parser operator interface.
GetGeometryOperator
def GetGeometryOperator() -> CENPyOlpWM_GeometryOperatorGet the geometry operator.
Returns: CENPyOlpWM_GeometryOperator — Geometry operator.
GetContourLength
def GetContourLength() -> floatGet the contour length if there is a contour process geometry, for all other types 0.0 is returned.
Returns: float — Contour length for a contour process geometry, for all other types 0.0 is returned.
GetController
def GetController() -> CENPyOlpControllerGet the parent controller interface.
Returns: CENPyOlpController — Controller interface.
GetCurrentProcessGeometryOperator
def GetCurrentProcessGeometryOperator() -> CENPyOlpProcessGeometryOperatorGet the Process Geometry Operator of the PG that is attached to the current operation.
Returns: CENPyOlpProcessGeometryOperator — Process Geometry Operator if there is a PG, otherwise - None.
GetTechTabFolder
def GetTechTabFolder(relativePath: str, feedbackErrorWhenFileNotFound: bool=True) -> strGets the technology table folder path. If the relative path contains a file name with extension then it will return the path to that file.
Parameters:
| Name | Type | Description |
|---|---|---|
relativePath | str | Name of a file/relative path to a file. |
feedbackErrorWhenFileNotFound | bool | By default (True) a feedback error is passed when file not found. (default: True) |
Returns: str — Technology table folder or a file path.
Related Types
- Attrib Getter
- Attrib Setter
- Log Operator
- Csv Parser Operator
- WM_Geometry Operator
- Controller
- Process Geometry Operator
Version Notes
This class is documented as of release R2025.2.4.