Adding Grout Tubes to Precast Walls using Dynamo

Tomasz Fudala Tomasz Fudala January 16, 2018

2 min read

In this post of the Structural Precast series I would like to show you how in Revit we can easily add grout tubes and tubes on top to precast walls.

Grout tube and tube on top are families that come with the installation of Structural Precast Extension for Revit. They are both face-based families. When modeling you can use them or your own families.

In Revit, there are a few ways how these elements could be added to precast wall assemblies.

First, I would like to show you a traditional, manual way.

  1. We simply start the Place a Component command.
  2. Then select a family and a type.
  3. Next select a wall face. Note: Orientation of grout tubes depends on which side/surface of a precast wall has been selected.
  4. Then a position of these elements can be further adjusted using built-in Revit capabilities. For example, you can specify a distance from the edge, distance between elements, use copy or mirror tools etc. …

As you probably noticed already the process itself is pretty straight forward however it can be very tedious and it takes a lot of time as we need to do the same for every single precast wall instance.

This is a situation where Dynamo for Revit comes in handy. Let me show you my automated process of adding tubes to the Revit model.

I made a few assumptions:

As a result I ended up with a Dynamo script with the following input parameters in Dynamo Player:
Let’s have a look inside the Dynamo script. First, I need to retrieve selected faces.

Next, I have to check the orientation of my faces.

My Python script checks if the beginning of local coordinate system of my surfaces is at the top or bottom and it calculates a rotation angle for grout tubes.

Now it’s time to get information about lengths of my wall parts.

Now I have all data needed to calculate coordinates of insertion points for both grout tubes and tubes on top.

My next Python script helps me calculate where insertion points should be located taking into account all input parameters:
Python script

And finally I can add these tubes to my Revit model in the right location and with correct orientation. Here I used the Springs.FamilyInstance.ByFacePoints node available in the Spring Node package.

Adding Grout Tubes and Tubes on Top

All nodes:
All Nodes

This automated process of adding grout tubes saves tones of manual and tedious work and save a lot of time.

Watch video:

For more posts on structural precast in Revit, check out these past articles on BIM and Beam:

@tomekf

Adding Grout Tubes to Precast Walls using Dynamo

Get AEC updates in your inbox

By clicking subscribe, I agree to receive the AEC newsletter and acknowledge the Autodesk Privacy Statement.