Hi everyone,
I am new to dynamo, trying to cut selected floor (floor has different subelements, it is not flat) by model line, I created basic script like in picture. There are no errors when I run the process, but the floor does not appear to be divided.
I have already used void category to shape the floor from the buttom, but i need to split the floor on two.
Any help on this would be much appreciated.
Thank you
You’ll need to create the element that actually cuts the floor first.
Right now you’re saying that the lines should cut the floor, but they can’t do such thing. The node asks for an actual element that can do the procedure.
Think of it as how you would normally do it, this node is the cut geometry node where you selected the element that cuts and then the element to be cut.
Use the a Floor Opening instead and give it the floorinstance element and the geometry of the selected modellines.
Spring Nodes package has a node such as Opening.InFloorByCurves.
From my experience, the easiest would be to make the floor into topography first so you wouldn’t lose floor shape edit points. Then you could make a copy of the floor do the necessary amendments and use the topography shape as a reference to get the previous shape. Hope that helps. I was doing something similar a while ago so I got a rough script for that! Try to see if that works for ya
Have you tried using the Revit’s native ‘parts’ features? It sounds a lot like you are trying to reinvent a feature Revit already does.
Thank you Kris for your answer, I have already posted this reply on linkedin, let’s follow the conversation in this blog.
Your idea is perfect when starting the model. I tried your option, I noticed the following:
- when copying the floor, the cut element (void) is deleted for the second floor, I have to recreate another void to shape the floor from the button as it is on a sloped slab
- I lost all data associated with instance parameters. I have to rewrite them again.
I think the best option is to keep the floor trying to split it without losing its data or shape. I found a video online but couldn’t get it to work. here the link:
Hi @Jpeele_JDB, the Floor I’m trying to cut has many sub-elements at different levels (it’s sloping). the parts do not work on sloping floor, it must be flat unfortunately
Hi @rick.vandelagemaat I have tried Opening.InFloorByCurves, but no result
I found this option which seems to work exactly what I’m looking for, but only on flat surfaces. Do you have any idea how to adapt this script on sloping floor
?
can you split this floor element , that floor was adjust sub elements point via topo, how to split it.
please share dynamo
please find the attached revit file
Project2.rvt (2.1 MB)
Hello, I am still waiting for a solution since the script that I have shared on this page seems to be not complete. Any ideas would be greatly appreciated!