Skip to Content

Attrib Group

Quick Facts

PropertyValue
ClassCENPyOlpAttribGroup
Modulecenpylib.CENPyOlpAttribGroup
Packagecenpylib
ReleaseR2025.2.4
Methods4

Quick Start

# Boilerplate Example attribGroup = ... # obtained from the runtime context result = attribGroup.GetName()

Method Index

MethodReturnsSummary
AddAttributeAdd an attribute to attribute group.
GetNamestrGet name of attribute group.
IsAttributeInGroupboolCheck if attribute with given name is contained in group
GetAttributeNameslistGet names of attributes in attribute group.

Query Methods

GetName

def GetName() -> str

Get name of attribute group.

Returns: str — name of attribute group

IsAttributeInGroup

def IsAttributeInGroup(attributeName: str) -> bool

Check if attribute with given name is contained in group

Parameters:

NameTypeDescription
attributeNamestrname of attribute to be checked

Returns: bool — True: is contained; False: is not contained

GetAttributeNames

def GetAttributeNames() -> list

Get names of attributes in attribute group.

Returns: list — names of attributes in attribute group

Mutation Methods

AddAttribute

def AddAttribute(attribute: CENPyOlpAttribute)

Add an attribute to attribute group.

Parameters:

NameTypeDescription
attributeCENPyOlpAttributeattribute to be added

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?