Rebar layer by dynamo

Hi,
I want layered Rebar of floor , wall as TOP and BOTTOM rebar as Sofitilk Layer Add-in ,
How will I be able to get the location of Rebar bars ?
Thanks

@kstheanhdo To help others understand your problem, please support your query with relevant files and images.
It would be better if you could also demonstrate your attempts and progress.

1 Like

For floors it just a matter of getting the geometry from the rebars (Element.Geometry), extract a point from it (point at paramter) and group (group by key)by Z-value (point z). For walls its a bit more challenging. First you’ll have to determine which face is interior and exterior. (available in the api) and then find the bars closest to those faces.

Can you do this by getting the center of your wall/floor and then calculate the distance from that point to your layers?

I would recommend you to find the top and bottom surface of the floor, read the Rebar cover information from the floor. Then you can do the location calculation and arrangement.