I’m trying to find a way to either get a perimeter curve or simplify the curtain walls into a single plane. Bounding boxes don’t work because they lose a lot of the info that’s coming from revit.
Does anyone know if there’s an easy way to get the shape and height of curtain walls and windows just like a simple plane? I was using the classic Revit Sample File and noticed that if you query the centre line (reference plane) of the wall profiled walls and height offsets aren’t tracked properly.
You can cast straight to a Surface, another component you might find useful is Element Bounding Geometry. It returns a box (sans openings in a regular wall)
I’ve tied this already. However, it doesn’t work well. Both don’t account for profiled walls or height offsets. I was thinking of potentially querying for curtain panels only and then try sorting the points into an interpolated curve. I’m hoping there’s an easier way.
Thanks for the prompt replies. That seems to be the solution but it’s not working on my end. I’ve tried a few different attempts. The only one that returns anything returns the wrong walls.
Ps - I’m just noticing a screenshot didn’t get included in my initial post. Sorry
Thanks Japhy that does seem to work! It’s so strange that the revit sample project doesn’t process properly. However, when I draw my own curtain walls everything is fixed.
I’ve also added a few nodes to query all glazed elements - removing the manual step.
Apologies for reopening this topic. However, I need to query the glazing in my project by category and workset and then retrieve a simple profile. For whatever reason, I can’t recreate what your script did when I do this.
I also tried to dispatch geometry by text to see if the trimmed surfaces would return the glazing but this also didn’t work. Not sure how else to go about this.
I’ve internalized some data - let me know if this file works for you.