May 23, 2023, 9:50am
As image show below,
when getting room side faces and its related side element,
the side element appears “null” while the face is defined by the end of wall.
Any ideas or its just how it works?
SIDE ELE NULL.rvt (5.1 MB)
SIDE ELE NULL.gh (12.1 KB)
May 23, 2023, 12:26pm
That’s a quirky one, if there isn’t a quick fix to the component via the Revit API it could be dealt with geometrically. (testing wall geometry to the faces is one way)
May 25, 2023, 5:44am
Here’s another scenario and actually encounter too …
In this case
create set can’t pick up that problem wall.
SIDE ELE NULL v2.gh (14.7 KB)
SIDE ELE NULL.rvt (5.4 MB)
May 25, 2023, 12:50pm
How would you like to deal with the condition? unjoining the wall would clear it up, alternatively you could do a collision and then identify the mismatched objects. The grasshopper definition would be slow and not handle all conditions obviously.
May 26, 2023, 3:18am
So I gave collision a try,
365 walls vs 84 rooms, took 8.9s from my end.
Seem okay for now, but curious how long it would take for my previous project which has 2000 rooms and countless walls