Attribute Bool
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpAttributeBool |
| Module | cenpylib.CENPyOlpAttributeBool |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 2 |
| Inherits from | CENPyOlpAttribute |
Inheritance
Quick Start
# Boilerplate Example
attributeBool = ... # obtained from the runtime context
result = attributeBool.GetState()Method Index
| Method | Returns | Summary |
|---|---|---|
SetState | — | Set state value of attribute. |
GetState | bool | Get bool value of attribute. |
Query Methods
GetState
def GetState() -> boolGet bool value of attribute.
Returns: bool — attribute value
Mutation Methods
SetState
def SetState(trueFalse: bool)Set state value of attribute.
Parameters:
| Name | Type | Description |
|---|---|---|
trueFalse | bool | new value |
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?