Formulas in Revit Family Parameters

In this blog, ATG Technical Specialist Quentin Worm demonstrates the different formulas you can use in Revit family parameters.

Array Instance Parameter

I’m going to use a ceiling fan I created and use the blades for the array. Whenever you create an Array, you have the option to turn the array into an instance parameter. First you will need to create a parameter to choose from the label drop down. I use number of blades to make it easy to understand. When you click on the array circle, a contextual menu appears on the ribbon. On the label drop down list pick the parameter you created once you select the parameter it will automatically turn on the Instance Parameter. Now you can go into the Family Types and add a formula to it. You can create another parameter called Angle (Integer, 360) and in the Formula of the Number of Blades, control the Number of Blades with ( Angle / 90) to make 4 blades.

Formulas with Yes/No Parameters

You can use a simple one like (Height < 4’). With this formula, it will turn on the parameter if the object height is under 4’. Or you make a more complex formula of (Height < 4’ 6”, 1 < 2, 2 < 1), which also does the same thing.

Formulas can be used on any parameter. I can add a formula to make the width half of its height like I used above. You can also use simple mathematical operations (+, -, *, and /). Additionally, you can use more complex operations (tan, cos, sin, etc.). You need to put the exact spelling of the parameter you want to use, and add the operation, then number.

I used a formula to make the rough opening around the door larger for construction installation. Here is the formula I used on a door that I created:

Contact ATG today at marketing@atgusa.com to learn more about our technical resources and staff that can help you with your Revit workflows.

Watch this Tech Talk on Revit to Specifications. 

Watch this webinar on Revit 2020 and CTC Tools BIM Project Suite- Using Path of Travel and the Occupancy Flow Analyzer. 


Contact Us

Drop us a note. We love notes.

I'd Like More Info On:


Events | See All

Wed 05

Ask ATG Featuring the Building Team

August 5 @ 11:00 AM - 12:00 PM CDT

Workflows & Solutions | See All

News  | See All

Our Latest
Success Stories

See All


Groundbreaking ROI

Whenever we talk to companies looking to make the change over to BIMBOX, benchmarks are a great place to start. Typically, we are 39-300% faster than existing systems.