icon

Support Forum

[Frage] Get the attribute 1857 in a precast element.

Schlagworte:
  • Allplan
  • 2026
  • PythonParts
  • Precast

How can I access attribute 1857 (LKW number) of a precast element?

I use:
attributes_dict = dict(BaseElements.ElementsAttributeService.GetAttributes(select_element))
or
attributes = dict(select_element.GetAttributes(BaseElements.eAttributeReadState.ReadAll))

but I don’t get this attribute.

Can you help me?

Hi,

when is this attribute assigned to an element? I guess via the "Stack" function, but even though I put an element on a stack and a tack on a Truck, the attribute was not assigned to the precast element. Can you give me more insights on your workflow?

Best,
Bart