Skip to Content

Attrib Utility

Attribute utility functions.

Quick Facts

PropertyValue
ClassAttribUtility
Modulecenpylib.AttribUtility
Packagecenpylib
ReleaseR2025.2.4
Methods4

Quick Start

# Boilerplate Example attribUtility = ... # obtained from the runtime context result = attribUtility.GetControllerStringAttributeValue(name, controller)

Method Index

MethodReturnsSummary
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:

NameTypeDescription
name——
controller——

GetControllerIntegerAttributeValue

def GetControllerIntegerAttributeValue(name, controller)

Get the value of a user-defined Integer attribute by name.

Parameters:

NameTypeDescription
name——
controller——

GetControllerFloatAttributeValue

def GetControllerFloatAttributeValue(name, controller)

Get the value of a user-defined Float attribute by name.

Parameters:

NameTypeDescription
name——
controller——

GetControllerBoolAttributeValue

def GetControllerBoolAttributeValue(name, controller)

Get the value of a user-defined Bool attribute by name.

Parameters:

NameTypeDescription
name——
controller——

Version Notes

This class is documented as of release R2026.1.1.

Was this page helpful?