Support Forum

[Question] Tabelle mit Attribut-IDs für PythonParts


Hallo,

ich möchte für mein PythonPart verschiedene Attribute setzen.
In den Samples, z.B. Attributes.py wird das wie folgt gemacht:

z.B.
AllplanBaseElements.AttributeInteger(206, 111111111)
oder
AllplanBaseElements.AttributeString(987, "111111")

Der erste Wert ist immer die ID des Attributs, das ich setzen will.
Der zweite Wert dann der Wert, den ich dem Attribut zuweise.

Gibt es irgendwo eine Tabelle, was die einzelnen IDs bedeuten?

Show most helpful answer Hide most helpful answer

Hallo,

entweder das Tool "AttributeManager.exe" aus dem PRG benutzen,
oder in der Datei

AttributeDefinitionCollectionAllplan_de.xml in ETC\XML nachschauen.

Für Benutzerattribute wäre es dann die

AttributeDefinitionCollectionLocal_de.xml im STD\XML

Gruß Jörg

Hallo,

entweder das Tool "AttributeManager.exe" aus dem PRG benutzen,
oder in der Datei

AttributeDefinitionCollectionAllplan_de.xml in ETC\XML nachschauen.

Für Benutzerattribute wäre es dann die

AttributeDefinitionCollectionLocal_de.xml im STD\XML

Gruß Jörg


https://connect.allplan.com/ uses cookies  -  More information

Accept