icon

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