Revit Rebar Tutorial
Revit Rebar Tutorial
Revit Rebar Tutorial
Revit Rebar
31.01.2021
Tutorial
2019-03-06
EngineerBear
BRAGE FREDHEIM
Innhold
1. Intro ................................................................................................................................................. 2
1.1. Presentation of the problem ................................................................................................... 2
1.2. Rebar Cover ............................................................................................................................. 3
1.3. Set-up view .............................................................................................................................. 4
2. The objects ...................................................................................................................................... 5
2.1. Wall 1 (W1) “Classic” technique .............................................................................................. 5
Placing rebars in section – U-shape................................................................................. 5
Placing rebars in section – Straight shape ....................................................................... 7
Area reinforcement ......................................................................................................... 8
2.2. Wall 2 (W2) Free form rebar ................................................................................................. 10
Free form rebar surface................................................................................................. 10
Free form rebar Surface – edit constraints ................................................................... 13
Free form rebar aligned................................................................................................. 15
2.3. Structural path reinforcement .............................................................................................. 19
2.4. Wall 3 (W3) “Free form rebar and dynamo........................................................................... 22
Free form rebar ............................................................................................................. 22
U-shape with dynamo ................................................................................................... 22
3. 3D rebar color view ....................................................................................................................... 30
3.1. Filter....................................................................................................................................... 30
3.2. Dynamo – 3D view with color based on partition number ................................................... 35
4. Rebar schedule .............................................................................................................................. 38
5. Rebar titleblock ............................................................................................................................. 45
EngineerBear.com Side 1 av 50
1. Intro
1.1. Presentation of the problem
This Revit-Rebar tutorial will explain how to place rebars in 4 different objects, as shown in the
picture below. A straight wall(W1), a curved wall(W2), a curved wall with a slope(W3) and a floor. We
are going to use several different techniques to accomplish the goal.
- Placing rebars using the “classic” technique, meaning placing rebars in 2D-views.
- Area reinforcement.
- Path reinforcement.
- Free form rebar.
- Generating U-shaped rebars in a curved and sloped wall using Dynamo.
- 3D rebars view with color using filter and dynamo
- Rebar schedule with a customized rebar shape
- Title block with shared parameters.
Before we go into the funny stuff, a small intro of the rebar cover settings and how I prefer to set-up
my views.
Picture 1:Intro
EngineerBear.com Side 2 av 50
1.2. Rebar Cover
Before placing any rebars, make sure the rebar cover is adjusted and assigned for the Revit element.
This is done by first add, remove, or modify existing rebar cover under rebar cover settings, then
select the element and change the value under Structural, properties. Picture 2.
A green dotted line will appear, when placing a rebar in a section, this line represents the rebar
cover, and the rebar will automatically snap to it. Picture 3
EngineerBear.com Side 3 av 50
1.3. Set-up view
The second task I like to do before diving into the fun of placing rebars, with the “classic” technique,
is to set up my views, so I have good control and a nice overview.
For the wall I want one 3D view, two sections, and an elevation. A plan view might also be useful.
Picture 4
Use the command WT to evenly distribute the views as shown below. The command TW will expand
the view you are in into full screen.
EngineerBear.com Side 4 av 50
2. The objects
2.1. Wall 1 (W1) “Classic” technique
Placing rebars in section – U-shape
The first rebar we choose to place out is a U-shaped rebar. But before that It is a couple of options
we need to address, when pressing the rebar button.
Placement plan, is, in my case always set to Current Work Plane, (The other options might be useful if you
have varying spacing between the rebars along the wall, for instance, at the end you want a spacing on 150mm, you can
then use Near Cover Reference, and then drag the rebars from the end to the point where the spacing is increased to
200mm, the 200mm spacing is set out with a new rebar.)
Next one is Placement Orientation, for our rebar with a U shape, we need to use the parallel to
workplane option, as we want the rebar to be placed parallel to the section direction. (We will explore
the other options later.)
Rebar set decides if we want spacing between our rebars, with a specific spacing, or a fixed number
of rebars that will be placed out. In my case, I want a maximum spacing of 200mm.
When these choices are determined, and we have selected rebar shape 21, we can hoover over our
wall in the section and the rebar will automatically snap to our predetermined cover for the wall.
EngineerBear.com Side 5 av 50
The rebar is now placed, click the rebar, and apply a partition(the partition will be used later when
creating a rebar schedule) number and change the dimensions: a, b and c to desired values.
Placing the U-shaped rebars, at the end of the wall is done in the exact same way, the only different
is, we use section view 2. (see video for walkthrough)
EngineerBear.com Side 6 av 50
Placing rebars in section – Straight shape
Placing the straight-shaped rebars, parallel to the work plane is done in the exact same way as
placing the U-shaped once. (see video for walkthrough).
When placing the perpendicular 0-shaped rebars, the only different is the Placement Orientation
option, here set to Perpendicular to cover.
EngineerBear.com Side 7 av 50
Area reinforcement
“All roads lead to Rome”. Instead of placing the straight rebars in the section view, another viable
option is to use Area Reinforcement. This is placed out in the 3D-view (For set-up of the 3D rebar view, se
the color-rebar section).
Select the Area button, click the element you want to place the area reinforcement in.
When the element is selected, the window under will appear. Here you will draw the area where the
area reinforcement will be placed, with the draw tool. Be aware of selection of the major direction, it
will determine which of the vertical or horizontal rebars will be placed closets to the edge of the wall.
When the area is drawn, decide the rebar type and spacing under properties Layers
EngineerBear.com Side 8 av 50
When done, it’s possible to remove area system, you do it if you want to separate vertical and
horizontal rebars with partition numbers, be careful, when removing area system, it can’t be undone.
EngineerBear.com Side 9 av 50
2.2. Wall 2 (W2) Free form rebar
We now move over to our second wall, a curved wall. To solve the rebar challenges, free form rebar
option will be used. For the straight rebars, Free form rebar surface will be applied, and for the U-
shaped rebars, the free form rebar Aligned used.
The picture below shows the option that appears after pressing rebar button in a 3D view. What we
want is to place horizontal rebars along the curved wall.
First off, decide the values for the rebar set, select the Surface option and mark the curved surface of
the wall.
EngineerBear.com Side 10 av 50
When that is done, and you have the same set up as shown above, Select Start Surface, and mark the
top surface of the wall, further select End Surface, and mark the bottom surface of the curved wall.
EngineerBear.com Side 11 av 50
Do the exact same on the other side. For the Vertical straight rebars, only different, change the start
and end surface to the vertical surfaces and the end of the wall(se video for walkthrough).
The finished product will look like the picture below. For a full walkthrough see the video. The rebars
will snap to our predetermined rebar cover settings.
EngineerBear.com Side 12 av 50
Free form rebar Surface – edit constraints
Let’s say the wall will continue up in a vertical direction for a new store, and we want our vertical
rebars to extend up 1000mm.
Select the vertical rebars and press Edit constraints. Revit will appear like Picture 18. Press the small
dot, marked in the picture and write in the desired number the rebars will extend upwards from the
wall.
The second edit constraints adjustment that demands attention is the horizontal rebars, it needs to
be reorganized so it won’t collide with the vertical once. See picture below.
EngineerBear.com Side 13 av 50
Picture 20:Free form Surface - edit constrains-3
EngineerBear.com Side 14 av 50
Free form rebar aligned
Next up is our U-shaped rebars, this task can be done by the function Free Form Rebar Aligned. But
some manual work, calculation and edit constraint is needed. When hitting the Rebar button, when
having a 3D view open, the screen below will appear.
Press aligned and select the host surfaces for the U-shaped rebar. A total of 3 surfaces is selected
before pressing the path button. The 3 selected surfaces form a U-shape which will eventually form
the U-shaped rebars. If we only desired an L-shape rebar, 2 surfaces would be the desired number of
surfaces selected from the host surfaces option.
Further, when done selecting the surfaces, press path and select the path the rebars will follow, in
our case, it will follow the bottom curved line.
The rebar now acts as a U-shape, with the correct shape and dimensions values a, b, and c, but the
values are greyed out and not possible to change, we need to edit constraints and do some simple
calculations to get our desired dimensions values.
EngineerBear.com Side 16 av 50
Picture 25:Free form Aligned, Edit constraints -5
EngineerBear.com Side 17 av 50
After subtracting 2365 for our U-shaped rebar length using edit constrainst, we accomplishes the
desired values for a and c.
EngineerBear.com Side 18 av 50
2.3. Structural path reinforcement
The path option under reinforcement is a nice tool to place rebars in, for example, slabs, It’s easy and
fast.
So, you need to stay in a plan view to deploy the rebars, have a 3D view open for a better overview
and maneuverability.
In our example, we want to place U-shaped rebars along the edges of our slab, this can be done by
the “classic” technique used earlier, but the more effective way is to use the path option.
First off, we use pick lines to pick the edges of our slab, further we press the double arrow, because
we want the U-shaped rebars to go into the slab and not outwards, and last edit the values under the
properties tab.
EngineerBear.com Side 19 av 50
When done, press the green finish button, the result will look like the picture below. The U-shaped
rebars are the wrong way, this is a quick fix, just mark them and hit the space bar a couple of times to
get the desired position.
To remove the path system, press the Remove path system button, we now have the opportunity to
change the a, b, and c values for our U-shaped rebars
EngineerBear.com Side 20 av 50
Picture 32: Structural path reinforcement -3
EngineerBear.com Side 21 av 50
2.4. Wall 3 (W3) “Free form rebar and dynamo
The last wall, a curved wall with varying height, Dynamo will be applied to generate the U-shaped
rebars both top and bot.
Under the top U-shaped rebars using dynamo will be explained, for the bot U-shaped rebars,
Dynamo player will be used. Making your script Dynamo player ready makes it easy for yourself and
your colleagues when running the script again later.
Select edge is the rebar path, the rest of the input values are pretty straight forward and need no
further explanation.
A little side note, the rebar length and width will appear as 600mm and 180mm when generating the
U-shaped rebars.
EngineerBear.com Side 22 av 50
2. Spacing along the curve, trim line for rebar cover
Curve.TrimByParameter is used to shorten the curve at both sides, the distance that shortens
represent the rebar cover.
To divide the newly created curve into equal segments length equivalent to spacing specified in
input_1, we use Curve.PointsAtSegmentLengthFromPoint. The number of segment length is counted
with List.Count.
The number of points found with List.Count is a parameter in the code block, the code block is set up
as follow: 0..1..#a. You can interpret the first part (0..1) as a percent of the curve. The 0, means you
start at 0% at the curve, and the 1, you end at 100% of the curve’s length. If the number were
0,1..0,9, we would have started at 10%into the curve and end at 90%, in total 80% of the midsection
of the curve will have distributed the #a numbers.
in our case, 100% of the curve will be used to place out x-number of points along the curve. The
number of points is determined by the input value #a, previously found with list.Count.
So, the code block is used as a parameter in the node Curve.PointAtParameter. We now have the
spacing between the rebars, symbolized as points on the curve.
Picture 35: Spacing along the curve, trim line for rebar cover
EngineerBear.com Side 23 av 50
3. Vector, 90 degrees on the curve.
What we want is to create individual vectors that are perpendicular to the curve for every point we
sat along the curve in the previous section, this allows us to place the U-shaped rebars at the correct
angle, with the correct dimensions.
The first step is to make a plane perpendicular to the line for each of the points, using
Curve.PlaneAtParameter. further, turn this into a vector with Plane.Normal, then extracting the
vector from Plane.Normal, we only need direction in the XY-plane, then rotate the vector 90
degrees.
In the last step, we retrieve vector.X and vector.Y from the previous Vector.Rotate, and
uses Vector.ByCoordinates to merge the vectors again, leaving the Z vector blank, The reason for this
is because we want this value to be 0(only rotation in XY-plane). We now have individual vectors in
XY direction for each of the points along the curve.
EngineerBear.com Side 24 av 50
4. Points
The tools (points along the curve with correct spacing and a perpendicular vector for every point)
needed are now created and available for the next phase.
The next phase consists of creating the 4 points, using the tools, that will eventually form our U-
shaped rebar.
Every point is created with the node Geometry translate, and collected in a list with List.Create.
EngineerBear.com Side 25 av 50
5. Lines
To create the U-shape we desire, the node Line.ByStartPointEndpoint is used to create lines
between the points that were made in the previous section.
Further, the lines are assembled using a code block, it is important that the order of the lines is
correct so that the lines that are made form a U-shape as shown in picture 6. List.Transpose
reorganizes the list so the list can be read by the node PolyCurve.ByJoinedCurves, to form one curve
out of the three lines.
The U-shaped rebars have now been produced in dynamo, the last step, getting them into Revit as
rebars.
EngineerBear.com Side 26 av 50
6. Input
We now arrive at the second input box; this box is related to the rebars value.
Rebar style is standard, the diameter of the rebar is 10 (in this example), none RebarHookType,
select the model the rebars are going to be placed in, RebarHookOrietation is left.
The vector input value is probably best communicated by Dieter Vermeulen at Autodesk
- The vector is the direction in which the rebar would get distributed, and represent the normal
vector of the plane in which the rebar sketch is created. This can be easily found with the
curve.normal node.
the four last nodes determine the parameter values for the shape (21) and partition-POS.Nr(51).
EngineerBear.com Side 27 av 50
7. Import rebar to Revit
The main node in this section is CreateFrom.Curves, and can be found in the package dynamo for
rebar. All the input values are described in the 6.Input.
The parameters mentioned are (shape and partition) set by the node Element.SetParameterByName
and linked with the main node, this means that all the rebars created from the main node will have
the parameters decided in 6.Input.
We also want the rebars created to be solid in view, this is done by using the node
Create.SetSolidInView.
EngineerBear.com Side 28 av 50
Picture 41: Dynamo finished
EngineerBear.com Side 29 av 50
3. 3D rebar color view
When modeling rebars, it’s easy to lose track of it all. A good tool to use both during the rebar
modeling phase and to quickly get back the overview, a clean and colorful 3D might do wonders.
I will go through how to get color on every rebar based on their diameter, using Revit Filter. Second
part, Dynamo will color all rebars in different colors based on their partition.
3.1. Filter
First off, we want to make the walls transparent. Open up the visibility graphic (VG), select walls, and
set transparency level to 80%.
EngineerBear.com Side 30 av 50
We can now see our rebars in the wall. Further, mark all the rebars and make them solid in view, like
shown in the picture below.
Open visibility graphic(VG), and select filter. This is the process that applies color on the rebar based
on the parameters.
The parameters, in our case, we want to separate, is by rebar diameter.
EngineerBear.com Side 31 av 50
The filter menu opens, check the structural rebar box. Bar diameter is selected, equals to 16.
Meaning every Structural rebar with a bar diameter of 16 will be affected by choices done in the next
step.
Add the newly created ø16 filter to the filter list. Apply the color red for lines and patterns. Do the
same for rebars with bar diameter 12 and 25, use a different color.
EngineerBear.com Side 32 av 50
Picture 49: Filter view -Creating new filter and applying color-4.
EngineerBear.com Side 33 av 50
The rebars has now been colorized based on their diameter, using Revit filters.
EngineerBear.com Side 34 av 50
3.2. Dynamo – 3D view with color based on partition number
Sometimes it’s very nice to be able to see the different kinds of rebars based on their partition, and
not just rebar size when checking the model for errors.
EngineerBear.com Side 35 av 50
2. List breakdown
Not a completely necessary step, but choose to split up the list into 3 lists, to avoid partition close to
each other to get a similar color. Since we separate it from the list, 3 partitions will get the same
color, but it will be more spread. This means, for example, that partition 11 and 12 will have a larger
color difference, but partition 11 and 26 will have the same color.
3. Color palette
Create a larger color palette by adding in a total of 6 colors to choose from. Se the color range in the
image.
EngineerBear.com Side 36 av 50
4.Revit
The costume node Color.ByParameter is used to apply color to the element based on their chosen
parameter, in this case, we want to separate the different elements by a partition, so each partition
in the chosen category (structural rebars) will get a color from the color palette created in the
previous section.
If you want to reset or delete colors on the structural rebars, set boolean to true, and run the script
again.
EngineerBear.com Side 37 av 50
4. Rebar schedule
At this point we are done with the rebar modeling and want to set up at rebar schedule of our rebars
from the first wall we created.
When hitting the OK botton, the box in the picture below appears, hear we select the desired values
from the rebar properties bar, as shown.
EngineerBear.com Side 38 av 50
Picture 60: Rebar schedule – 3 Fields
Our rebar numbering (partition value under properties) is set up so that wall one (the first wall we
placed rebars in) has partition numbers from 10-20 wall 2 has 20-30 etc., it makes it easy to
distinguish the desired rebar numbering in our list using filters.
EngineerBear.com Side 39 av 50
Under sorting/grouping we aim at sorting our partition numbers from low too high in a rising order,
10,11,12, 13.etc. It’s important that Itemize every instance is checked off, like shown in the picture
below.
EngineerBear.com Side 40 av 50
The schedule is now showing the mm sign after every number (green arrow), to remove it follow the
picture below.
The rebar schedule is starting to form, but it still needs some small adjustment. The shape image for
our rebar shape 7 is missing and the total bar length must be added.
EngineerBear.com Side 41 av 50
Let’s start off with our custom rebar shape. Some manual work is needed, draw the shape in a legend
or draft view, use snipping tool and save the image at your desktop, then click the custom rebar and
press edit family.
In the custom rebar shape click the family types and add the image saved to the desktop, se picture
below.
EngineerBear.com Side 42 av 50
Picture 67: Rebar schedule – 8
To change the row height when you add an image to the schedule and place the schedule on a sheet.
Click on the schedule in the sheet view and the resize button will appear on the modify schedule
graphics bar.
EngineerBear.com Side 43 av 50
The final step for our rebar schedule is to add a total bar length parameter.
In the schedule properties under fields click Add calculated parameter, and punch in the values
shown below.
EngineerBear.com Side 44 av 50
5. Rebar titleblock
For an easier and better overview for the different constructions part we have created through the
project, we want to create a rebar schedule sheet for every construction part, to do that we have to
create a title block with shared parameters.
The title block presented is a simplified version just to show and clarify how to create a title block
with shared parameters. You may create your own title block with preferred text and parameters
that is personalized for your needs.
As this is a A4 sheet, we set it up properly, with the necessary A4 borders. Add appropriate text,
same way as in Revit.
EngineerBear.com Side 45 av 50
Picture 72: Rebar title block – 2, Set up.
Here comes the tricky part, adding labels, maneuver through the labyrinth of options, and getting it
all to work after you load the title block into Revit main file. To solve the problem, shared parameter
will be used. I will go through it step by step.
In the process shown below we want to create a txt document that will contain our newly created
shared parameters.
Edit label appears, click add parameter Select Edit Create, save the txt document. The txt
document will be used to “transfer” the created parameters from the title block family to our main
Revit file.
EngineerBear.com Side 46 av 50
In the Edit shared parameters window, we create a Parameter group, this group will contain the
parameters that belong to this Rebar schedule title block.
When the OK button is pressed in the Edit shared parameters window, select the parameter you
want to implement in the edit label list (In our case, all the parameters will be added), in the
parameter properties, just hit OK and the parameter will appear in the Edit label menu.
EngineerBear.com Side 47 av 50
When done with this confusing part, locate the parameter in the menu and add it. Add all the
parameters to a label, and load into project when finish.
EngineerBear.com Side 48 av 50
Back to the main Revit-file after loaded the title block into it. To start off, create a sheet, select the
title block you just created. You may notice that it is not possible to change the value for our created
parameters, the last step to get our shared parameters operative remains.
The TXT file that was created earlier will be linked, you can see that under manage Shared
parameters, but to get them to work you need to apply them to the project and sheet category.
Click the project parameter shown below and follow the steps. As you can see our created shared
parameters appears as a choice under the Shared parameter window.
Check the instance (Enables you to modify the parameter value separately for every instance), sheets
(make the parameter available on the sheet), hit OK, do the same for the other parameters.
All the parameters are now active and ready to be used. Place the desired rebar schedule in the
sheet, and fill in the parameters values and the sheet are ready to be sent.
EngineerBear.com Side 49 av 50
Picture 80: Rebar Sheet
EngineerBear.com Side 50 av 50