Attribut Bool
Schnelle Fakten
| Immobilien | Wert |
|---|---|
| Klasse | CENPyOlpAttributeBool |
| Modul | cenpylib.CENPyOlpAttributeBool |
| Paket | cenpylib |
| Veröffentlichung | R2025.2.4 |
| Methoden | 2 |
| Erbt von | CENPyOlpAttribute |
Erbe
Schneller Start
# Boilerplate Example
attributeBool = ... # obtained from the runtime context
result = attributeBool.GetState()Methodenindex
| Methode | Rückgaben | Zusammenfassung |
|---|---|---|
SetState | — | Setze den Zustandswert des Attributs. |
GetState | bool | Erhalten Sie den Bool-Wert des Attributs. |
Abfragemethoden
GetState
def GetState() -> boolErhalten Sie den Bool-Wert des Attributs.
Returns: bool — Attributwert
Mutationsmethoden
SetState
def SetState(trueFalse: bool)Setze den Zustandswert des Attributs.
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
trueFalse | bool | Neuer Wert |
Versionsnotizen
Diese Klasse ist zum Zeitpunkt der Veröffentlichung R2025.2.4 dokumentiert.
Was this page helpful?