I am in a middle of creating a script that detects
how to clearly differentiate interior wall / exterior wall - this can be difficult because both are both under Wall and every designer uses different way/families for 3d modeling, therefore I don’t exactly know what to put for separating whats interior / exterior. Is there a way to do it without relying too much on the wall categories?
Curtain walls. I created a script that specifically deals with window families but some Revit files have curtain walls instead of window. Is there a way where I can have both curtain walls and windows in one node, detect if the revit file has either of them and go with it?
Please let me know if there is any further question or advice.
If you have direct control of wall elements (that is to say, you’re not relying on a linked model from a consultant/client that regularly updates), I’d highly push for regulation of interior/exterior function in wall types. You can do filter coloring to spot-check proper usage. It also helps out your MEP modeller quite a bit.
JacobSmall’s recommendation is probably the best way to go about it, even if you have to go through the process of creating bounding elements and then later deleting the elements and the room.
Once upon a time I ignored that idea and tried to do point-checks, basically taking a point on each side of the wall, and if the wall had 0, 1, or 2 points within a Room, do the appropriate thing. It was overly complicated and quite error-prone…