icon

Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

Accessing wall tier data [Gelöst]


Hi all,

I’m working with a selected wall and trying to collect information about its individual tiers. The issue I’m running into is that the relevant data is split across two different sources:
Tier-specific properties (e.g. thickness, elevation) are stored in WallTierProperties, while the floor plan geometry for each tier is stored in the BaseElementAdapter of the wall tier.
I can access both structures without issues, but I’m unsure how to reliably associate the corresponding entries between them, since their ordering differs:

WallTierProperties → wall_element.GetProperties().GetWallTierProperties(index)
(order matches the original wall definition)

BaseElementAdapter → list(filter(filterer, all_child_elements))[index]
(order appears to be sorted by descending length)

What is the intended or recommended way to correctly match and combine the relevant data for each wall tier?

Thanks in advance for your help.

Lösung anzeigen Lösung verbergen

Hi,

you can use BaseElementAdapterChildElementsService::GetTierElements to get the ordered list of the wall tiers.

Best regards
Horst

Hi,

you can use BaseElementAdapterChildElementsService::GetTierElements to get the ordered list of the wall tiers.

Best regards
Horst