04.09.2020 - 08:23
Guten Tag zusammen,
ich würde gern das Materialattribut in einem PythonPart setzen. Es handelt sich um eine Elementgruppe.
Das Attribut Bezeichnung kann ich setzen mit:
prop = AllplanBasisElements.ElementGroupProperties() prop.Name = 'AnkoGroup'
Da findet sich aber nichts über weitere Attribute wie das Materialattribut
die formatattribute bekomme ich mit:
com_prop = AllplanBaseElements.CommonProperties() com_prop.GetGlobalProperties() print(com_prop)
CommonProperties( Color (7) Layer (35058) Stroke (1) Pen (3) ColorByLayer (1) PenByLayer (1) StrokeByLayer (1) HelpConstruction (0))
da ist leider das material auch nicht dabei.
gruss bernd
PLANlos am BIMmeln