Tips & Tricks on BIM Application.
Revit® Professionals' FAQs & Answers.
Latest News on Tools for Revit® and BIM.
May 28, 2019 by Valensas Balsevicius

This post is about the Dynamo script for reinforcement created during our Precast Concrete webinar entitled "BIM modeling in Revit, CAM, drawings and reinforcement using Dynamo" (hosted May 9, 2019; recording available on YouTube). It should be helpful for anyone interested in modeling reinforcement more efficiently.

During the webinar we added some precast elements and placed connections and reinforcement. We also showed how to auto-generate shop drawings with Revit® and the Precast Concrete add-on developed by AGACAD. For the reinforcement, we produced a Dynamo script to create rebar based on 4 selected edges of the Host element with some simple parameters to control the rebar size and number.

Important notes: This post is intended for Revit 2019 and later editions since some nodes for rebar are not available in previous versions. We also suggest you review the additional Packages added to Dynamo (the add-ons in the image below). The reinforcement settings for Revit elements are already set to the correct values.

Additional Packages

Once all the parameters are set, we can start on the Dynamo script. First we have to select the edges of the precast element: just search for a node and add it to the Dynamo work area.

Select Edges

Use the Select button to select edges of the beam in the Revit model and then click 'Finish'.

Now we have some lines in Dynamo which we will use to create the rebar geometry. The next step is to extend the curves, connect them, and after that filter out the Points from the list. We add the needed Dynamo nodes and connect them as follows:

Extending curves 1

Now we have 4 corner points. Let’s reorder them and produce a polygon using the appropriate Dynamo node:

Producing a polygonThen we need to offset the polygon in order to get a shape of the right size for the cover we need. At this point, we can use the polygon however we want – copying it as many times as we want, in any pattern, using different Dynamo nodes. For example, we can copy it by a defined distance at the start:

Polygon example

Then we will use a list of distances to copy a couple of them in a defined direction, like this:

List of distance

Now that we have all the polygons, we can convert them into polycurves and then use some Dynamo nodes to create actual rebar in Revit.

Converting into polycurves

Polycurves 2

So, that’s a very simple approach to the creation of reinforcements. We’ll look at some other possibilities in upcoming posts.
Related blog posts:

Thank you!

If you have not been contacted within 24 hours, please check your Junk folder.

Contact Us

I'm interested in:

We’d love to stay in touch and share information that could be helpful for you in your work. Typically we write about twice a month and you can unsubscribe at any time. Is that OK?

* - Required fields

Thank you for your demo request.

Our customer service will get in touch with you within 24 hours.

Don’t waste time on reading technical documentation and see that this is the solution for you! Our Expert will frame a part of your project, demonstrate software functionality and share the best practice and efficient way of framing, taking into account your current needs.

Duration: 1 hour
Cost: 200$/200€

Register to start framing with our Expert

You will leave the demonstration with:
- Part of your project already framed;
- Your questions answered;
- 14-days software trial;
- Support during the trial period.

If you have any questions or requests, please feel free to contact us via email

Thank you for your trial request.

Our customer service will get in touch with you within 24 hours.

Want to find out if this is the right solution for you? Our professionals are here to help you. To properly assess the software, you will need a trial license, personal training with our engineers, sample families and configurations. For that we offer an Initial Implementation Plan.

Cost: 500$/500€
These costs are deducted from the product purchase price.

Register to start a trial!

The Initial Implementation plan includes:
- Revit project with sample families & configurations
- Research on your framing standards (1 h)
- Online training (2 h)
- 30-days software trial
- Support during the trial period

If you have any questions or requests, please feel free to contact us via email

This site uses cookies - they help us provide you with a better online experience. By using our website you accept that we may store and access cookies on your device. | Privacy policy X