• Home
  • Training Books
  • Subscribe to Our Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
  • MicroStation
    • MicroStation Basic Tutorial
You are here: Home / Revit / Creating Revit Family: Line Based Cabinet

Creating Revit Family: Line Based Cabinet

March 7, 2010 by Edwin Prakoso 3 Comments

In this Article...

  • Creating Line Based Family
  • Using Nested Family
  • Using Array and Formula in Parameters
  • Limitation

I had a very interesting Revit family sample last week. It is a furniture family, but we can place it just like placing walls: we define first and last point, not by the furniture location. It is not possible to create such a family type using the furniture template. We need to create it using Metric Generic Model line based.rft.

Let us create a new Revit family using that template.

Creating Line Based Family

Revit_Line_Based_Family

This family has a predefined parameter: Length. It also has two vertical work plane: Left and Right. The work planes intersection points with the center (front/back) work plane are the points you need to define when placing it within a project.

Let us try it. Open right elevation view. Create a profile like below. You don’t need to create the exactly the same profile. Just make it 500mm wide, and create 2nd profile 760mm above the level plane.

Extrusion_Profile

Click extrusion properties on your Revit ribbon, contextual tab. Find extrusion end parameter, and click the small button next to the value.

Extrusion_Properties

Find Length parameter, select it and click OK. Click finish extrusion.

We have done! Save this Revit family as ‘base cabinet’. Load it to a project and try to place it.

Hint: If you don’t have floor (or other faces) then you need to change the placement reference to ‘Place on Work Plane’.

Revit_Component_Placement_Reference

Just like placing walls isn’t it?

Using Nested Family

That was fun, but we can do more. We want to fill the gap between base and top panel with typical cabinet units.

Download this file, load this typical unit to base cabinet family.

Typical_Unit_Placement

You should see it in 3D like this.

Typical_unit_in_base_cabinet

This is a Revit family inside a Revit family definition… or nested family.

Using Array and Formula in Parameters

Creating Array

The next thing we need to do is to multiply the typical unit to match the cabinet length. Open the floor plan view.

Select the typical unit family, and click array on your Revit ribbon.

Revit_Array_Tool

Place the array like below. After you place it, select the array number.

Typical_unit_array

Creating Number of Array Parameter

In option bar, click the drop down label selection.

Revit_Parameter_Labels

Select <Add Parameter…>.

In opened dialog box, type the parameter name, and change the parameter type to instance.

Array_Number_parameter

Click OK.

Creating Formula for Array Parameter

Now we need to create a formula, so the number of array will adjust to the cabinet length. Click types from Revit Ribbon.

Revit_family_types

In the family types dialog, find the parameter we created before. In formula field, type Length/600. Remember, formula in Revit is case sensitive!

Revit_Array_Formula

Click OK. Try to reload this family to your project. And try to place it again. Now the number of typical unit will adjust to the cabinet length.

Base_Cabinet_with_typical_unit

Limitation

This may looks fun and very easy to use. However, there are some limitation to consider:

  1. I would not recommend you to use this trick if you need to report the family in your schedule. Revit will only recognize the furniture family and types, but it will not report the length or number of typical units in your cabinet. So if you want to report the family in a schedule, use furniture template and define the family types. Use this trick if the family is only for visualization purpose!
  2. You need to know the typical unit size so you can precisely define the cabinet length. It will not cause error in Revit, but you will see the base and top panel too long or too short if you don’t define its length correctly. Use incremental value 600 for this sample.

About Edwin Prakoso

I work as a Sr. Consultant in PT Cipta Satria Informatika. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and I am also active in Autodesk discussion forum. I'm a member of Autodesk Expert Elite, an appreciation for individuals who give contributions to the Autodesk community.
Connect with me on twitter or LinkedIn.

Filed Under: Revit Tagged With: array, line based, nested family

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

3 Comments
Inline Feedbacks
View all comments
Spiros
Spiros
10 years ago

Hi Edwin,

The “Typical unit.rfa” file fails to open after downloading. Just letting you know if you want to rectify it. Otherwise, thanks for the tutorial.

Cheers.

1
Reply
eliasbim
eliasbim
11 years ago

Nice article! I have same concept, I used Linear slot diffuser, trench drain and specially adaptive curve trench and SLD.

0
Reply
Binu Mathew
Binu Mathew
15 years ago

Hai Edwin,

My Name is Binu Mathew from Kuwait, i used to visit your website and i take this opportunity to congratulate you for your support to the CAD community as a volunteerly, iam lso having a yahoo group called surf2cad (http://tech.groups.yahoo.com/group/surf2cad) try to be a memebr also in that group and help the community,

i switched to Revit MEP 2010 and we are having a cad user group in Kuwait, i atteneded AU 2008 and this year attended only Virtual, Good luck for your hard work

Best regards

Binu Mathew

from Kuwait

0
Reply
wpdiscuz   wpDiscuz

Featured

How to: Update AutoCAD Block in Multiple Files using Script

We continue using ScriptPro in this article. This time we will update block definition using a script. We also use AutoCAD Core Console for the much faster process!

Recent Articles

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available

Advertisement

New on CADnotes

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available
  • Autodesk Forma Design Contest
  • Revit 2025: Toposolid Enhancements

Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

Get Connected

CADnotes on FacebookCADnotes on InstagramCADnotes on TwitterCADnotes on YouTube

© 2009 – 2025 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz