Create Areaplan based on room parameter

Hi everyone,

I’m still a beginner with Dynamo.
Maybe you guys can help me out.

I want to create an area, based on a room parameter.
Here is a non-automatic example from Revit.
So multiple rooms with the value “Building Common Area” have to become an Area together. This also applies to “Office Area” and “Store Area”


My idea was to do this with Boundaries of the rooms. And create from these boundaries an area.


I would greatly appreciate your help!

Project1.rvt (1.6 MB)

For getting the outer boundaries of the rooms I think this topic might be useful:

And for the areas, here are some nodes to get you started:


Thanks very much Viktor, this brings me a lot further.

I’m running into a problem with combining the solids.
if I have an open space in the solids. He can not make 1 Solid out of it.
Does anyone have a solution for this.

Project1.rvt (1.6 MB)

Area boundaries op basis van rooms.dyn (13.2 KB)

Hm, that shouldn’t be a problem. What’s the error message that comes from Solid.ByUnion?

this is the warning:


I fixed it by bringing down the overlap of the solids.

now he wont make a poly curve from the surface curves:

looks like several curves have the same startpoint/endpoints, which the polycurve.byjoinedcurves cannot handle. Maybe sort out duplicates?

That’s the inner loop. You can use the node Group Curves from Archi-Lab:

1 Like

Thanks! Groups are working great.

Now i want to create area boundaries.
But the codeblock and the Python Script are not working from AreaSeparator.FromCurve (clockwork)

What are you trying to do in the code block?

Add Geometry.Explode between the polycurves and the curve input of node. I guess it expects single curves and not polycurves.

geometry.explode does nothing unfortunately.

That code block is the input from the node apparently.

seems redundant that’s all :slight_smile:

What does your python script look like @r.blankenvoort

that is the codeblock from the AreaSeparator.FromCurve.
When i replace it with codeblock curve. Only the Python script does not work.

Do you mind sharing these files?
I think there’s something wrong with the curves that go into it.
Meanwhile you can try the node from Wombat:

Project1.rvt (1.6 MB)
Area boundaries op basis van rooms.dyn (36.8 KB)

Which package is the “AreaPlanView.ByLevel” from?


the wombat AreaBoundaryLine.ByCurveAndView does not do round curves