Attrib Utility
Attribute utility functions.
Quick Facts
| Property | Value |
|---|---|
| Class | AttribUtility |
| Module | cenpylib.AttribUtility |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 4 |
Quick Start
# Boilerplate Example
attribUtility = ... # obtained from the runtime context
result = attribUtility.GetControllerStringAttributeValue(name, controller)Method Index
| Method | Returns | Summary |
|---|---|---|
GetControllerStringAttributeValue | — | Get the value of a user-defined String attribute by name. |
GetControllerIntegerAttributeValue | — | Get the value of a user-defined Integer attribute by name. |
GetControllerFloatAttributeValue | — | Get the value of a user-defined Float attribute by name. |
GetControllerBoolAttributeValue | — | Get the value of a user-defined Bool attribute by name. |
Query Methods
GetControllerStringAttributeValue
def GetControllerStringAttributeValue(name, controller)Get the value of a user-defined String attribute by name.
Parameters:
| Name | Type | Description |
|---|---|---|
name | — | — |
controller | — | — |
GetControllerIntegerAttributeValue
def GetControllerIntegerAttributeValue(name, controller)Get the value of a user-defined Integer attribute by name.
Parameters:
| Name | Type | Description |
|---|---|---|
name | — | — |
controller | — | — |
GetControllerFloatAttributeValue
def GetControllerFloatAttributeValue(name, controller)Get the value of a user-defined Float attribute by name.
Parameters:
| Name | Type | Description |
|---|---|---|
name | — | — |
controller | — | — |
GetControllerBoolAttributeValue
def GetControllerBoolAttributeValue(name, controller)Get the value of a user-defined Bool attribute by name.
Parameters:
| Name | Type | Description |
|---|---|---|
name | — | — |
controller | — | — |
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?