Trying to apply the Floor Opening by Curves, but Design Script returns empty values, used in Revit 22
@Tim.r ,
like this?
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):
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.
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.
You need to provide floor type and level lists also.
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.
It works, thanks