Multiple Building Pads

Hello guys,

We are trying to generate some building pads from some polycurves.

Attached the definition that we are using and the Revit file.

We are using a python node that we have found here in this post,

The graph works fine with only one polycurve however in Revit we cannot create building pads out of more than one close loop.

I guess what we need for this definition to work is to separate the task with some loops but we are new to dynamo and we are not sure how to do this, any great ideas???
pads.dyn (9.8 KB)
Pads.rvt (1.5 MB)


pads.dyn (9.2 KB)

You were close. The input should be the polycurve, not a list of curves. And in the python script you were missing a couple for loops to create each pad individually. Also it was the right idea that the closed curve had to be within an IList but they needed their own individual list, which is where the [i] comes from on line 49.

1 Like

Amazing Kenny,
This works perfectly!!!

what package is Group Curves belong to?

It should be in the archilab (called archi-lab.net on the server) package.

buenos días, estoy trabajando para crear varios building pads a través de curvas de las cimentaciones. Encontré este Script, me pareció interesante, pero al momento de ejecutarlo obtengo el siguiente error:
¨

. alguien podría ayudarme, por favor?

Intenta agregar un flatten entre las polycurvas y el python Script

I have this problem, Can anyone help me?



#creating CurveLoop

loop = CurveLoop()

for c in curves:

loop.Append(c.ToRevitType())