Tech_Attrib Changed Operator
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpTech_AttribChangedOperator |
| Module | cenpylib.CENPyOlpTech_AttribChangedOperator |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 8 |
Quick Start
# Boilerplate Example
tech_AttribChangedOperator = ... # obtained from the runtime context
result = tech_AttribChangedOperator.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. |
GetController | CENPyOlpController | Get the parent controller interface. |
GetChangedAttribute | CENPyOlpAttribute | Get the attribute which was changed. |
GetChangedAttributeName | str | Get the name of the attribute which was changed. |
GetChangedComponent | CENPyOlpProgramComponent | Get object of the container on which the attribute change happened. |
GetOperatorForComponent | CENPyOlpTech_AttribChangedOperator | Get the operator for a given program component. |
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.
GetController
def GetController() -> CENPyOlpControllerGet the parent controller interface.
Returns: CENPyOlpController — Controller interface.
GetChangedAttribute
def GetChangedAttribute() -> CENPyOlpAttributeGet the attribute which was changed.
Returns: CENPyOlpAttribute — Changed attribute object.
GetChangedAttributeName
def GetChangedAttributeName() -> strGet the name of the attribute which was changed.
Returns: str — Changed attribute name.
GetChangedComponent
def GetChangedComponent() -> CENPyOlpProgramComponentGet object of the container on which the attribute change happened.
Returns: CENPyOlpProgramComponent — Object which contain changed attribute, can be program,Operation group or operation.
GetOperatorForComponent
def GetOperatorForComponent(component: CENPyOlpProgramComponent) -> CENPyOlpTech_AttribChangedOperatorGet the operator for a given program component. component: program component to get operator for it
Parameters:
| Name | Type | Description |
|---|---|---|
component | CENPyOlpProgramComponent | program component to get operator for it |
Returns: CENPyOlpTech_AttribChangedOperator — AttribChangedOperator for program, operation group or operation.
Related Types
Version Notes
This class is documented as of release R2025.2.4.