Hi everyone,
Is there any way I can attach a wall between these two floors using dynamo , please keep in mind that the floor has a slope,
Thanks a lot
Itâs been a few years since it was last asked, but it appears there still is not a means of attaching the wallâs Top/Base to elements in the Revit API. Instead youâll have to edit the sketch. This isnât super easy, but this post illustrates how that can be done: Sketch Lines - Edit, Copy, Paste - #20 by jacob.small
The difference between that example and yours is that youâd want to redefine the limits of the sketch to the top of the floor and the bottom of the ceiling/roof/floor above. Pulling the location line of the wall, and projecting it to the respective surfaces of the floor and roof/floor/ceiling above should do the trick; From there you can loft between the two curve sets, and use the perimeter curves of that surface to get the desired result.
Thanks a lot Jacob,
Forgive me I have downloaded the script in the other post, But my knowledge in dynamo is limited,
can you please illustrate via nodes or something Visual I didnât know exactly what should I do
Thanks
Sadly Iâm in an airport for a few hours due to a missed connection, which means I donât have a CPU to build the tool for you. As a guide:
- Start by drawing an line in Dynamo, and using one of the two Wall creation nodes to create a wall.
- Select the floor and (calling the upper one ceiling) ceiling element in Dynamo using two Select Model Element nodes.
- For the floor: Use an Element.Faces node to pull the surfaces of the floor.
- Use a Surface.NormalAtParameter node to pull the vector (a direction) which each face is oriented.
- Pull the Z value of the vector using a Vector.Z
- Use a LIst.SortByKey node to sort the original list of faces (#3) by the list of Z values (#5)
- Use a List.LastItem to get the âmost upward orientedâ face of the floor. Select all the other nodes created and disable the geometry preview (right click on the workspace background) to ensure youâve got the right one.
- Repeat steps 3 to 7 for the ceiling, but utilize a List.FirstItem node instead of the List.LastItem to get the âmost downward oriented faceâ.
- Use a List.Create node to join the floor and ceiling faces into a list.
- Use a Curve.Project node to pull the original location curve (#1) onto the surfaces in the list (#9)
- Use a Surface.ByLoft node to build a surface showing a zero depth version of what your wall will want to look like when done.
- Pull the perimeter curves of the surface to get the outline curves.
- Utilize the tool in the graph linked above to edit the sketch of the original wall (#1)
Thanks a lot Jacob I will do such a thing
Very grateful
Hello,
The Wall.byFace node expects a (face surface) from Revit?
Is there a node that allows to change the dynamo surface in front revit without going through the creation of an auxiliary family
Cordially
christian.stan
Just a thought could probably be another way, create your walls with over heights so you are sure they overlab your floors, find the plane on floor surface, create a void on that then use cut geometry from clockworkâŚbut just a thought the best is Jcobs amazing solution
Hi Jacob,
forgive my ignorance I have been trying to do the writing here that you have provided me , but it seems that I cannot understand without the visual stuff,
I might be doing somethings wrong ,
Iâd really appreciate if you could help when you have the time
Hi @sovitek may I ask what are the nodes used here in this process
Thanks a lot
yes you canâŚin my idea is all nodes ootb except cut geometry as is from clockwork and synthezise if you are in 2022 for create voidâŚhere is my idea something like thatâŚBut think Jacobs way is best but that way its just pretty new for me
Thanks a lot Dear , I will see what I can do here,
again thanks for the fast reply
@sovitek Thanks a lot Dear , I am trying to download the node right now seems that I have a problem downloading it
Hi Sovitek,
I tried your approach and it is working like I want but I really donât want the voids , and the model is becoming heavy like this , Looks like you understood Jacobâs solution in this post and you told me it is better , forgive me for asking Iâm a newbie but I am trying to do what he did I do not know how will I use the nodes I would really really appreciate if I can have a visual representation
Thanks a lot
What have you tried? So far youâve only posted Revit screenshots, which makes it impossible for us to guide you along.
Give it a shot, post a sample rvt and .dyn, and the community can help you grow from there.
Jacob has explain it very wellâŚso try to do exackly whist he sayâŚLine by line
Hi Jacob,
Sorry for the misunderstanding I have tried the wall.byface approach In which I can try to create a sloped wall according to the Z axis
There is this script I found on the internet it have the same purpose(drawing Sloped walls ) But I donât know why it is not working it says canât make extrusion of the walls
Create Wall_ByProfile (error ).dyn (88.9 KB) This is the excel Sheet I am using for it
Copy of 3 Walls Excel.xlsx (8.0 KB)
I have no idea if it can be done But If I can just get a lead or a starting point on how to add a slope to the walls according to Z elevations that would be great
I have also tried the written approach above but I didnât quite understand it very well, Forgive my ignorance as my experience in Dynamo is only a couple of month , I Would really appreciate any help
Hello if you can live with âwall by faceâ with these limit it have something here should workâŚhavent tried Jacobs way yetâŚif you are in 2022 use synthezize âinsert familyâ instead of springs
Synthesize Toolkit?
One of my favorites!
If you delete the original Mass, it wonât update. btw.
Yeps Marcel true if we delete the mass no upgrade yes a great package and specielly for geometryâŚbtw with that way the mass comes in as a family and not family in place, i guess it will be faster just upgrade again in dynamo vs edit family