Professional Documents
Culture Documents
It Families Tutorial
It Families Tutorial
Revit Basics
Revit Families Lesson #2
Reference Planes
Reference planes and reference lines provide the framework for creating forms in Revit.
When creating a new reference plane always draw vertical planes from bottom of screen
to top of screen and horizontal planes from left to right. Planes have a positive side and a
negative side. Always drawing planes the same way provides predicable results later.
Naming reference planes will help clear confusion once the modeling gets more complex.
This is done in the properties of the plane by typing the desired name under Identity Data.
A good naming convention will bring clarity to a family especial when revisiting an old
family. When adding planes to control solid forms, naming in the format of, <Object>
<Location>, (i.e. TableTop, DoorFrameLeft, ControlboxRightside), is an effective way of
giving meaning and allowing for ease of use. There may be times when adding a <Use>
to the end of a planes name is necessary to provide further clarification.
The Is Reference parameter indentifies the location of the plane or determines if that
portion of the family can be aligned to or dimensioned to. There are 12 choices for the
parameter;
Left, Center (Left/Right), Right
Front, center (Front/Back), Back
Back, Bottom, Top, Center (Elevation)
Strong Reference, Weak Reference, Not a Reference
Page - 1
In the image below the angle between a reference plane and a reference line has been
dimensioned.
Page - 2
With the dimension selected, pick the tool from the Label drop down on the Options bar.
The Parameter Properties dialog appears. Give the parameter a name. Again, a naming
convention is very important. <Object> <Use> works well. This parameter is going to be
used to determine the angular size of a break in a sweep form. Group the parameter under
Dimensions unless it will be controlled by a formula. In that case group it under
Constraints. To give each instance of this sweep individual sweep breaks make this an
Instance parameter. To keep them all the same, make this a Type parameter.
Page - 3
When a sweep form is locked to the reference plane and line the new parameter can now
control the size of the opening.
To make it simple when working on families, only add annotations and dimensions to the
Reference Level, Front Elevation, or the Right Elevation. This helps everyone find
parameters that could be in 7 or more views.
Page - 4
Conditional Statements
Conditional statements test for a true or a false condition and then return a value based
off the results. The format is this;
IF (, , )
Supported Conditional Operators:
< Less Than
> Greater Than
= Equal to
AND Both statements are true
OR One of the statements is true
NOT Statement is false
a<=b is not supported, but NOT(a>b) can be used to the same effect.
Sample Conditional Statements:
Simple IF Statement
IF (Length < 30, 2 6, 4)
Formula That Returns Strings
IF (Height > 30, This thing is tall, This thing is short)
Using logical AND
IF (AND (x = 1 , y = 2), 8 , 3 )
Page - 6
Using logical OR
IF (OR (A = 1 , B = 3 ) , 8 , 3 )
Nested IF statements
IF (Length < 35, 2 6 , IF (Length < 45, 3 , IF (Length < 55, 5, 8 ) ) )
IF with Yes/No condition
Length > 40 (The condition and the results are implied)
Page - 7
Formulas
Any parameter can have a formula determine its value in the Family Types dialog.
Formulas can contain basic math operators and/or conditional statements using integers,
decimals, fractional values, and parameter names. Instance and Type parameters can not
be used in the same formula.
Bookcase Family Example
In this example a bookcase family is required that a user can define the HxWxD. The
number of shelves should be determined by the height, there should also be a control for
the thickness of the material and the option to have doors on the bottom 3 shelves.
To gain the type of control needed, the shelves will have to be nested into the bookcase
family. Nesting means the shelves will be an independent family that will be loaded into
the bookcase family.
Build the Shelf Family
1. Begin with the Generic Model.rft template.
2. Unpin the 2 references planes in the template and uncheck the Defines Origin check
box.
3. Add 4 reference planes to define the length and width of the shelf in the reference
view. Set the Right and Back reference planes to Define Origin and Pin them in place.
4. Name the new planes (Front, Back, Left, Right) and set the Is Reference parameter
accordingly.
5. Use the Extrusion tool on the Home tab to create a form for the shelf, locking it to the
4 defining planes.
Page - 8
6. Use the dimension tool to dimension the Width and depth of the shelf form.
7. Select the width dimension and pick the Label: drop down on the Options Bar, and
then select .
8. The Parameter Properties dialog appears. Fill it out as indicated below. Do the same
for the Shelf Depth dimension.
9. Switch to the Front view and create a reference plane to define the top of shelf. Name
the reference plane, set its reference to Top and lock the top surface of the shelf form to
the plane.
10. Set the shelfs thickness to . Create a parameter for Shelf Thickness as was done
with width and depth.
11. Save this family as A-Fn Bookcase-Shelf.rfa
Page - 9
4. Name the new planes (Front, Back, Left, Right) and set the Is Reference parameter
accordingly.
5. Add 3 more reference planes to define the thickness of the back and sides of the
bookcase.
6. Use the Extrusion and trace the footprint of the bookcase sides and back. Lock the
faces of the extrusion to the reference planes.
7. Switch to the Front view and create a reference plane to define the top of bookcase.
Name the reference plane, set its reference to Top and lock the top surface of the shelf
form to the plane.
8. Create parameters for Bookshelf Height, Bookshelf Width, Bookshelf Depth, and
Bookshelf Thickness the same way parameters were added to the shelf family.
9. Add half parameters for the bookcase width and depth. These will be used to keep
the center planes in the center.
Page - 10
11. Group the half parameters under constraints and insert the formulas below to ensure
they are always half of their parent lengths.
12. This is a good time to flex the family by trying different dimensions in the parameters
and checking that the geometry follows suit.
Page - 11
4. Select the grey box to the right of the Shelf Thickness to add a new parameter. Name it
Shelf Thickness (in case), make it an Instance parameter and group it under
Constraints.
5. Do the same for Shelf Width and Shelf Depth.
Page - 12
6. In the Family Type dialog we can now create formulas to keep the shelves the correct
size as the case changes. Create the formulas shown in the image below.
2. Load this new shelf into the bookcase family, but do not place it.
3. In the Family Types dialog create a new Type parameter named Swappable Shelf.
Make its discipline Common, its Type of Parameter and group it under Constraints.
4. When you select the Type of Parameter Revit will open the Select Category dialog.
Pick Generic Models.
Page - 13
5. Select the original shelf in the bookcase family now. In the Properties dialog, look for
the Label parameter and change it to Swappable Shelf.
6. In the Family Types dialog Create 2 shelf types, Shelf Type 1 and Shelf Type 2.
Associate the swappable shelf parameter with the appropriate type.
Page - 14
7. Flex the family. Change the family type and verify that the shelf changes.
Array the Shelf
1. Switch to the front view. And move the shelf up 3. Add a reference plane to the
underside of the shelf. Dimension this plane from the reference level and create a
parameter named Bookshelf Toe-Kick.
2. Use the Array tool with Group and Associate on and Move To set to Last. The array
should go from the top of the placed shelf to the top of bookcase reference plane.
3. Select the group and associate line with the current number in the array. On the
Options bar select from the label drop down and add a new parameter.
Page - 15
5. In the Family Types dialog add the equation below to place a shelf at about one shelf
per linear foot.
6. Flex the family by changing the height of the bookcase, verifying that the number of
shelves changes. Also flex the width, depth, and shelf type.
7. If the shelves lean out of plumb, use the Align tool to lock the upper most shelf in
place.
Control the Thickness
For this family the user can input the thickness of the bookshelf, this will in turn drive the
thickness of the shelves. Lets create a formula that allows the user to input any thickness
they want, however, if the thickness is less than Revit should use anyway.
Conversely if the user specifies any thickness greater than 1, Revit will use 1 only. If
the user specifies any thickness in-between, Revit should consider this a fair value and
use it directly.
This requires creating an Actual Thickness parameter and a couple of nested IF
statements.
1. Create a new instance parameter and name it Bookshelf Thickness Actual. Group it
under Constraints.
2. Apply the following equation to the new parameter.
There are essentially two parts to this nested IF statement.
If (Bookshelf Thickness < 0' 0 1/2", 0' 0 1/2",
Page - 16
This first part states that if the Bookshelf thickness is less than use for the Actual
thickness. If it is not, refer to the rest of the statement.
if (Bookshelf Thickness > 0' 1", 0' 1", Bookshelf Thickness))
The last part states that if the Bookshelf thickness is greater than 1 use 1. If it is not,
use the Bookshelf thickness.
3. To finish apply the Actual thickness parameter to the constraining dimension instead of
the nominal one.
Using Model Text to Provide User Feedback
Since the user can specify any thickness they want, even if they are wrong, it may be a
good idea to provide feedback to the user if the thickness they provide is out of bounds.
Page - 17
Architectural
Boundary Conditions
Casework
Columns
Doors
Entourage
Furniture
Furniture Systems
Mass
Parking
Planting
Specialty Equipment
Windows
MEP
Air Terminals
Cable tray Fittings
Communication Devices
Conduit Fittings
Data Devices
Duct Accessories
Duct Fittings
Electrical equipment
Fire Alarm devices
Lighting Devices
Lighting Fixtures
Mechanical Equipment
Nurse Call Devices
Pipe Accessories
Pipe Fittings
Plumbing Fixtures
Security devices
Sprinklers
Telephone devices
Structural
Structural Columns
Structural Connections
Structural Foundations
Structural Framing
Structural Stiffeners
The categories of families listed above are also how the default displays of families
are sorted in the Object Styles dialog and the Visibility Graphics dialog.
The selected category also dictates the available Family Parameters. Revit MEP
families will have different Part Types based off the Family Category selected.
Page - 18
Templates
Autodesk Revit products install with a host of templates meant to give the user a jump
start when creating families. These templates are found in the Imperial Templates
folder. There are Annotation templates (used mostly for tagging different categories
of families), Hosted templates (wall, ceiling, floor, and roof hosted), and non-hosted
templates (everything else). Choosing the correct template, while relatively easy, is an
important first step to success when creating families.
Naming Conventions
Families that have a naming convention are easy to identify and find within the any
family folder structure. An ideal family name has four parts, a Major, Minor, and a
Descriptor, followed by a Version Number.
A-Furn Casework_v1
M-Hv Diffusser_v1
E-Po Receptacles_v1
G-Tb Logo_v1
Geometry Creation
Geometry for families is created by using Solids and Voids. Both solids and Voids are
created through one of the following forms; Extrusions, Blends, Revolves, Sweeps,
and Swept Blends found on the Home tab in the Family editor.
Between the 5 solid forms and void forms nearly any shape can be made. Complex
shapes can be broken down into basic pieces and joined together and voids can be cut
from solids. When creating the 3 dimensional component of a family it is important
Page - 19
not to over-model it or under-model it. Think about its use and function then gauge
the usefulness of the detail that should added.
When saving and exiting a Revit family, always close every view except for the view
best suited for the thumbnail image used when inserted into projects. Often the
preview image should be the Home 3D view with Shading with Edges on. Reference
planes, connectors and dimensions should be hidden in the preview image view.
Homework
Create an Table family.
Construct an Table family that utilizes 3 of the following tools; Extrusion, Sweep,
Void, Blend, Sweep/Blend and Revolve.
Now go to the Manage tab of the ribbon and select the Design Options tool. This will
open the Design Option dialog. There, a option set can be defined with options under
that set. To create a new set, click the new button under Option Set circled below in
red with the number 1. Option 1 will automatically appear under this set. To rename
the set and the option, highlight them on the left then select the appropriate rename
button on the right. rename the set to "Mystery Room" and Option 1 to "Band Room".
Create a second option by selecting the New button under Option circled below in red
with the number 2. Rename that option to "Library".
Page - 20
With the options setup, the visibility graphics for the two views created earlier can be
set to show just the desired option. A Design Options tab has been added to the
Visibility Graphics dialog. In each of the two views, change the design option to
match the view.
Page - 22
In Revit 2010, go to the Insert tab and select Link Revit. Make sure to link using
Origin to Origin.
Page - 23
Any interferences will be shown in the interference report. Select the interference in
the report then select the Show button to see the interference in the model.
Page - 24
Revit offers many templates for annotation families. Revit template families have a
RFT file extension. For this example select "Generic Annotation.rft". This template
contains two reference planes and a note to the users to specify the type of family. The
intersection of the reference planes is the origin for the family. Select the "Category
and Parameters" button near the end of the ribbon to change the category. For this
example use "Generic Annotation".
I used text and a filled region to create this logo.
Page - 26
Page - 27
CAD Shack
Wire Gap when Wires Cross
1 day ago
http://lazydrafter.blo
Page - 28