@Wouter The script you are showing will only create Area Boundary Lines for the room boundaries, since you are only collecting rooms. So if you want to also create lines for the wall centerlines, you will also have to collect the walls and obtain their centerlines. A quick forum search brought me to this: Automation of Area Boundary Lines
Also I am wondering what the purpose of the Element.Location node is because the Room Boundaries output node already outputs the curves. Additionally it looks like you are feeding a PolyCurve.ByJoinedCurves node into another PolyCurve.ByJoinedCurves which won’t work.
The difference is that the tool does not place Area Boundary Lines on the center line on curtain walls.
The script is already create lines for the wall centerlines, the prablem is only that it does not create Area Boundary Lines on the curtain wall centerlines. The Element.Location node has a Python Script that locates the centerlines.
Element.Location for curtainwalls will return the location line which is as intended. If you want the geometric centerline you will need to get either the panels or the mullions (this will be two very different lengths) and offset the location line by 1/2 of the offset to the panels or mullions + 1/2 of the thickness of the panels or mullions.
@Wouter - Sharing the script (or rather the relevant parts) you have built and a sample Revit file will make it so others have a way to experiment and help you solve your problem. The fact that your room boundaries appear to not be picking up the location of the curtainwall correctly has me wondering if there is something odd going on (a room separation line that was added to tweak the room geometry as one example).
Thanks for the help.
I found that the problem lies in my Revit sample. The problem was caused by Room Separation lines who were placed on both sides of all the curtain walls.
Ahh I had misunderstood the language of your initial post - I thought you were trying to create separation lines for 1) the rooms (so the faces of the bounding walls) and 2) the center lines of the walls, including curtain walls. In retrospect, I don’t know why anyone would want to be doing that, ha, but that is why I said this part:
I’m glad you’ve figured out the issue with the curtain walls. Is your script running now, though? It still appears to me that you are feeding a Polycurve.ByJoinedCurves node into another Polycurve.ByJoinedCurves.