Skip to Content

Attrib-Schöpfer

Schnelle Fakten

ImmobilienWert
KlasseCENPyOlpAttribCreator
Modulcenpylib.CENPyOlpAttribCreator
Paketcenpylib
VeröffentlichungR2025.2.4
Methoden9

Schneller Start

# Boilerplate Example attribCreator = ... # obtained from the runtime context result = attribCreator.GetSystemAttribCreator()

Methodenindex

MethodeRückgabenZusammenfassung
AddIntegerCENPyOlpAttributeIntErstelle ein neues ganzzahliges Attribut.
AddDoubleCENPyOlpAttributeDoubleErstelle ein neues doppeltes Attribut.
AddStringCENPyOlpAttributeStringErstelle ein neues String-Attribut.
AddBoolCENPyOlpAttributeBoolErstelle ein neues Bool-Attribut.
AddEnumCENPyOlpAttributeEnumErstelle ein neues ENUM-Attribut.
AddTableCENPyOlpAttributeTableErstelle ein neues Tabellenattribut.
GetSystemAttribCreatorCENPyOlpSystemAttribCreatorHolen Sie sich einen Operator, der Systemattribute erstellt.
AddAttribGroupCENPyOlpAttribGroupErstelle eine neue Attributgruppe.
GetAllAttribGroupslist[CENPyOlpAttribGroup]Erhält alle Attributgruppen.

Abfragemethoden

GetSystemAttribCreator

def GetSystemAttribCreator() -> CENPyOlpSystemAttribCreator

Holen Sie sich einen Operator, der Systemattribute erstellt.

Returns: CENPyOlpSystemAttribCreator — Systemattribut-Erstellobjekt.

GetAllAttribGroups

def GetAllAttribGroups() -> list[CENPyOlpAttribGroup]

Erhält alle Attributgruppen.

Returns: list[CENPyOlpAttribGroup] — Liste der CENPyOlpAttribGroup-Objekte, gefundene Attributgruppen.

Mutationsmethoden

AddInteger

def AddInteger(name: str, val: int, min: int, max: int, olpAttribType: int, nls: str) -> CENPyOlpAttributeInt

Erstelle ein neues ganzzahliges Attribut.

Parameter:

NameTypBeschreibung
namestrName des Attributs
valintStandardwert des Attributs
minintMindestwert des Attributs
maxintMaximaler Wert des Attributs
olpAttribTypeintAttributeigenschaften
nlsstrNLS-String

Returns: CENPyOlpAttributeInt — Erstelltes Attributobjekt.

AddDouble

def AddDouble(name: str, val: float, min: float, max: float, step: float, olpAttribType: int, attribType: int, nls: str) -> CENPyOlpAttributeDouble

Erstelle ein neues doppeltes Attribut.

Parameter:

NameTypBeschreibung
namestrName des Attributs
valfloatStandardwert des Attributs
minfloatMindestwert des Attributs
maxfloatMaximaler Wert des Attributs
stepfloatSchrittweite für die Pfeiltasten
olpAttribTypeintAttributeigenschaften
attribTypeintAttributeigenschaften
nlsstrNLS-String

Returns: CENPyOlpAttributeDouble — Erstelltes Attributobjekt.

AddString

def AddString(name: str, val: str, olpAttribType: int, nls: str) -> CENPyOlpAttributeString

Erstelle ein neues String-Attribut.

Parameter:

NameTypBeschreibung
namestrName des Attributs
valstrStandardwert des Attributs
olpAttribTypeintAttributeigenschaften
nlsstrNLS-String

Returns: CENPyOlpAttributeString — Erstelltes Attributobjekt.

AddBool

def AddBool(name: str, val: bool, olpAttribType: int, nls: str) -> CENPyOlpAttributeBool

Erstelle ein neues Bool-Attribut.

Parameter:

NameTypBeschreibung
namestrName des Attributs
valboolStandardwert des Attributs
olpAttribTypeintAttributeigenschaften
nlsstrNLS-String

Returns: CENPyOlpAttributeBool — Erstelltes Attributobjekt.

AddEnum

def AddEnum(name: str, literals: object, value: str, olpAttribType: int, nls: str) -> CENPyOlpAttributeEnum

Erstelle ein neues ENUM-Attribut.

Parameter:

NameTypBeschreibung
namestrName des Attributs
literalsAnyListe der gegebenen Elemente
valuestrStandardwert des Attributs
olpAttribTypeintAttributeigenschaften
nlsstrNLS-String

Returns: CENPyOlpAttributeEnum — Erstelltes Attributobjekt.

AddTable

def AddTable(name: str, olpAttribType: int, nls: str) -> CENPyOlpAttributeTable

Erstelle ein neues Tabellenattribut.

Parameter:

NameTypBeschreibung
namestrName des Attributs
olpAttribTypeintAttributeigenschaften
nlsstrNLS-String

Returns: CENPyOlpAttributeTable — Erstelltes Attributobjekt.

AddAttribGroup

def AddAttribGroup(name: str) -> CENPyOlpAttribGroup

Erstelle eine neue Attributgruppe.

Parameter:

NameTypBeschreibung
namestrName der Gruppe, die hinzugefügt wird.

Returns: CENPyOlpAttribGroup — Erstelltes Gruppenobjekt.

Verwandte Typen

Versionsnotizen

Diese Klasse ist zum Zeitpunkt der Veröffentlichung R2025.2.4 dokumentiert.

Was this page helpful?