WM_Attrib Changed Operator
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpWM_AttribChangedOperator |
| Module | cenpylib.CENPyOlpWM_AttribChangedOperator |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 10 |
Quick Start
# Boilerplate Example
wM_AttribChangedOperator = ... # obtained from the runtime context
result = wM_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. |
GetCsvParserOperator | CENPyOlpCsvParserOperator | Get the CSV parser operator interface. |
GetWorldReference | CENPyOlpMatrix | Get the world matrix of the Olp attribute object’s reference object. |
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 | CENPyOlpWM_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.
GetCsvParserOperator
def GetCsvParserOperator() -> CENPyOlpCsvParserOperatorGet the CSV parser operator interface.
Returns: CENPyOlpCsvParserOperator — CSV parser operator interface.
GetWorldReference
def GetWorldReference() -> CENPyOlpMatrixGet the world matrix of the Olp attribute object’s reference object. If the Olp attribute object does not have a reference object, the matrix will be a unit matrix.
Returns: CENPyOlpMatrix — World matrix of the reference object.
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) -> CENPyOlpWM_AttribChangedOperatorGet the operator for a given program component. component: program component to get an operator for it
Parameters:
| Name | Type | Description |
|---|---|---|
component | CENPyOlpProgramComponent | program component to get an operator for it |
Returns: CENPyOlpWM_AttribChangedOperator — AttribChangedOperator for program, operation group or operation.
Related Types
- Attrib Getter
- Attrib Setter
- Log Operator
- Csv Parser Operator
- Matrix
- Controller
- Attribute
- Program Component
Version Notes
This class is documented as of release R2025.2.4.