I am trying to browse all rooms (or actually all spaces) of a building, in order to get the list of adjacent spaces to each of these spaces. I have read some quite old posts about it here and here, but these use the "Element" property of BoundarySegment objects, e.g.:
foreach( BoundarySegment s in b )
...
Element neighbour = s.Element;
If I'm not mistaken, this is no longer possible to access the wall objects from a BoundarySegment (?) Is there an alternative?
Thanks,
Arnaud.