Floor Opening By Curves

Trying to apply the Floor Opening by Curves, but Design Script returns empty values, used in Revit 22

1 Like

@Tim.r ,

like this?

1 Like

That’s exactly what I was trying to achieve, thank you for pointing in the right direction. Only thing is this is to create the filled regions.
It would be great if the python code in this example can be adapted to create the floors as well:

Maybe try this node (Crumple) if you’re happy for the openings to be in the floor sketch (possible since R22):

image

2 Likes

This is great Gavin, trying to loop the list of sketch lines directly to curvelists, for some reason, returns a null:

List structure for the curves needs to be list of list of curves. Make a room with a hole in it, make a list of them and feed it into the room.finishboundary node. That is the required list structure.

1 Like

Hello Gavin,
Is it possible to do it without creating rooms?

It is but you would need a list of list of curved as the geometry input.

It doesn’t work, what I’m trying to do is create a floor with openings from curves.

You need to provide floor type and level lists also.

like this


or like this, both are not working

Actually just feed in a single input as the node can work that way. You will need to ensure your curves are contiguous (in order). You can do this using PolyCurve.ByJoinedCurves then an Explode.

2 Likes

It works, thanks

1 Like