Revit Families, Connectors and Formulas What?!: Session 2
Revit Families, Connectors and Formulas What?!: Session 2
Revit Families, Connectors and Formulas What?!: Session 2
Class Description
Creating Revit Families using modelling techniques, connectors and
formulas. I've had the headache so you don't need to!
This class is primarily aimed at MEP users, but in a multi-disciplinary
world, content needs to be right no matter what the discipline of the
user.
With this session we will be exploring best practices along with tips and
tricks for content creation.
Recommendations are that you do not rename families from within the
Project Browser of your project file/template, if you do want to change
the name of a family, do it outside of the project environment (either
renaming the .rfa from Windows Explorer, or saving as a new family, and
then loading the new family into your project, giving you the added
benefit of being able to select and replace content in the project
environment.
Page 2 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
With that in mind, its good working practice to sketch out what you are
trying to achieve (See Appendix A: Family Planning), and keep a
record of it. Utilise a set of recognised standards and shared
parameters that are appropriate to your local industry. Some good,
light reading, starting points are:
PAS1192:2013
BS1192:4 - COBie
Autodesk Revit Architecture 2010 Families Guide
Autodesk Revit Model Content Style Guide
AEC (UK) BIM Standard for Autodesk Revit
Page 3 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Another is:
Do-ist not unto sketches, actions that constrain geometry.
When it comes to adding dimensions and parameters, these should
always be added to the controlling reference elements, not the
geometry, and certainly not to the sketch of an object. There is nothing
worse than trying to decipher someone else’s work where you cannot
find the parameters as they have been buried deep within the family.
Let’s take a look at the basic ways of creating geometry and then at
how it can be controlled using parameters and formulas.
Page 4 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Page 5 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Duct Spigot Control is slightly more complex – but not much. We have
a parameter Spigot Length which we will make, say 300mm. So it is
simple math then to say:
Duct Spigot Control = Duct Control - (Width / 2) – Spigot Length
But what happens with the handing? This is where we now add two,
Yes/No parameters Left Hand and Right Hand. To make sure we can
only select one, we can apply the formula:
Right Hand = not (Left Hand)
Page 6 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
And the task here is to find the length if left handed and length if right
handed, which goes like this:
if(Left Handed, (Duct Control - (Width / 2) - Spigot Length),
(Duct Control + (Width / 2) + Spigot Length))
Here, for clarity, the parentheses are colour coded:
() = overall formula
() = result if true with a nested () calculation, and
() = result if false, also with a nested () calculation
Here, we can see the results in the family types dialog where:
1. Type Parameters
2. Instance parameters are shown
with a (default) value.
3. A new feature to Revit 2015, is
that families created in this
release have alphabetically
arranged parameters.
4. The arrangement can be set to
Ascending or Descending
5. Here you can adjust the position
of any given parameter, a useful
tool whether you are upgrading
a family, or just want to move
really important parameters.
Page 7 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Page 8 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Page 9 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
if(Nominal Air Flow > AF1, Warning Note_2, (if(Nominal Air Flow < AF2,
Warning Note_2, Warning Note_1)))
Page 10 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
The initial creation of a type catalog is easy, with your family open:
Page 11 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Page 12 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Page 13 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Of course, best practice dictates that you do not load all types into the
project, but just the ones that are necessary. Additional types can be
loaded when required.
Page 14 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Page 15 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Page 16 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Page 17 of 19
Revit Families, Connectors and Formulas… What?!
Simon Whitbread, Autodesk
Reference Material
There is so much on this huge subject, pulling it all together could
almost be enough material for a new book… Hang on, hold that
thought…
Anyway, below are a few links to material that you might find of
interest:
Page 18 of 19
Photo / Sketch / DWG:
Plan: 3D View:
Type
YES / No-Single Type / No-Multi Type
Catalogue:
IES File
YES / No Lookup Table Required YES / No
Required:
3. Parameters:
Parameter Name: Description: Initial Value:
Front: Back:
Left: Right: