# 10 Nesting Drawers – Part 1

We brought our drawer family into our project in the last lesson. We can also get our drawer family from the Project Browser and drag it in.

Go to the floor plan view.

Reset and unhide everything. Again, we have the same problem we had earlier. The Family Types dialog box is not controlling the parameters for the drawer family. In the Properties Panel, click Edit Type.

Just like we did with the door family, we will connect the parameters together.

In the depth parameter, click the associate family parameter button. Create a new parameter, and name it Drawer Depth.

We won’t connect the Drawer Carcass parameter.

The height and the width would be something we would want to change, so we’ll bring them in. In the Height parameter, click the rectangle, and create a new parameter. Name it Drawer height.

The gray rectangles now have little equal symbols telling us the parameters are linked. We’ll do the same thing for width. Name its associated parameter Drawer Width. Click OK.

Go to the family types dialog box. Now, we have the drawer depth, height, and width.

Let’s move these parameters up the joinery unit parameters so that they’re sitting together.

We have the depth, height, and width for the entire joinery unit, then the depth, height, and width for the drawers, and finally the depth and width for the door we linked.

Click OK.

Now, we need to create some formulas so the drawers move automatically when we change the cupboard’s width or depth.

When we bring in the draw, we don’t want it to come all the way up to the interior side of the carcass. It needs a 10 millimeter gap on either side of the drawer for the tracks.

Go to Family Types. Let’s set up a formula for the width of the drawer.

In the formula field for the drawer width, we’ll enter this formula. Open bracket, Width, minus,

open bracket, 2 times the carcass width, plus 20. That 20 is for 10 millimeters for each side for the track.

After the 20, type two end brackets. Click Apply.

The drawer is sitting in there nicely with a 10 millimeter gap on either side.

Next, we need to make sure the drawer sits ten millimeters off the base. Create another reference plane.

Create a dimension, and just as we did before, set the dimension to 10 millimeters.

Click on the reference plane and then click on the dimension, and lock it in as 10 millimeters.

Align the drawer to sit at the back, and lock it.

The depth of this drawer is not using the whole depth of the joinery unit.

Let’s set up another formula to automate this. In Family Types, type this formula into the Draw Depth field. Depth, minus, open bracket, carcass width, times 3.

We have one carcass width in here, but we want to have another 20 millimeters backwards, so the drawer doesn’t come all the way up to the front.

Back to the formula. Plus the 10 millimeters at the back. End bracket. Click apply.

The drawer is sitting in there nicely. We have a 20 millimeter gap in the front, and the 10 millimeter gap at the back.

Move the drawer to the side. To do that we’ll need to remove the constraints for a moment. We need to align the drawer with the center of reference plane and we need to make sure the reference plane aligns to the back of the joinery unit.

Go to the floor plan view.

Reset and unhide everything. Again, we have the same problem we had earlier. The Family Types dialog box is not controlling the parameters for the drawer family. In the Properties Panel, click Edit Type.

Just like we did with the door family, we will connect the parameters together.

In the depth parameter, click the associate family parameter button. Create a new parameter, and name it Drawer Depth.

We won’t connect the Drawer Carcass parameter.

The height and the width would be something we would want to change, so we’ll bring them in. In the Height parameter, click the rectangle, and create a new parameter. Name it Drawer height.

The gray rectangles now have little equal symbols telling us the parameters are linked. We’ll do the same thing for width. Name its associated parameter Drawer Width. Click OK.

Go to the family types dialog box. Now, we have the drawer depth, height, and width.

Let’s move these parameters up the joinery unit parameters so that they’re sitting together.

We have the depth, height, and width for the entire joinery unit, then the depth, height, and width for the drawers, and finally the depth and width for the door we linked.

Click OK.

Now, we need to create some formulas so the drawers move automatically when we change the cupboard’s width or depth.

When we bring in the draw, we don’t want it to come all the way up to the interior side of the carcass. It needs a 10 millimeter gap on either side of the drawer for the tracks.

Go to Family Types. Let’s set up a formula for the width of the drawer.

In the formula field for the drawer width, we’ll enter this formula. Open bracket, Width, minus,

open bracket, 2 times the carcass width, plus 20. That 20 is for 10 millimeters for each side for the track.

After the 20, type two end brackets. Click Apply.

The drawer is sitting in there nicely with a 10 millimeter gap on either side.

Next, we need to make sure the drawer sits ten millimeters off the base. Create another reference plane.

Create a dimension, and just as we did before, set the dimension to 10 millimeters.

Click on the reference plane and then click on the dimension, and lock it in as 10 millimeters.

Align the drawer to sit at the back, and lock it.

The depth of this drawer is not using the whole depth of the joinery unit.

Let’s set up another formula to automate this. In Family Types, type this formula into the Draw Depth field. Depth, minus, open bracket, carcass width, times 3.

We have one carcass width in here, but we want to have another 20 millimeters backwards, so the drawer doesn’t come all the way up to the front.

Back to the formula. Plus the 10 millimeters at the back. End bracket. Click apply.

The drawer is sitting in there nicely. We have a 20 millimeter gap in the front, and the 10 millimeter gap at the back.

Move the drawer to the side. To do that we’ll need to remove the constraints for a moment. We need to align the drawer with the center of reference plane and we need to make sure the reference plane aligns to the back of the joinery unit.

Transcript ON

Transcript OFF

# Lessons in this tutorial

00 Introduction to Casework Families

Free

0m 31s

01 Starting A Revit Family

4m 1s

02 Modelling A Kicker

4m 11s

03 Modelling the Carcass

3m 51s

04 Creating the Top Panel

3m 51s

05 Nesting Casework Doors - Part 1

3m 3s

06 Nesting Casework Doors - Part 2

4m 21s

07 Controlling Door Widths

3m 4s

08 Controlling Door Heights

2m 26s

09 Modelling Drawers

5m 51s

10 Nesting Drawers - Part 1

4m 50s

11 Nesting Drawers - Part 2

5m 0s

12 Symbolic Swing Lines on Doors

4m 36s

13 Symbolic Lines on Drawers

4m 4s

14 Visibility Parameters

3m 49s

15 Object Styles

4m 20s

16 Door Swings

5m 5s

17 Adding Material Parameters

4m 36s

18 Conclusion

3m 40s