Skip to Content

Attribute Bool

Quick Facts

PropertyValue
ClassCENPyOlpAttributeBool
Modulecenpylib.CENPyOlpAttributeBool
Packagecenpylib
ReleaseR2025.2.4
Methods2
Inherits fromCENPyOlpAttribute

Inheritance

Quick Start

# Boilerplate Example attributeBool = ... # obtained from the runtime context result = attributeBool.GetState()

Method Index

MethodReturnsSummary
SetStateSet state value of attribute.
GetStateboolGet bool value of attribute.

Query Methods

GetState

def GetState() -> bool

Get bool value of attribute.

Returns: bool — attribute value

Mutation Methods

SetState

def SetState(trueFalse: bool)

Set state value of attribute.

Parameters:

NameTypeDescription
trueFalseboolnew value

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?