Our Precast Concrete solution is great for automating modelling, numbering, and shop-drawing creation in Revit, but efficiently modelling reinforcement in a 3D model can still be a challenge. Following our post about using a Dynamo script to create rebar by selected edges, here we show how to make a layout based on certain rules and apply it automatically to elements of different length. This can be done in the same Dynamo script.
You’ll recall that we created a rebar layout via a simple Code Block with a defined bar number and step.
Let’s add another node to select one more Edge, and read its length with the Curve.Length node like this: