Start a new metric door family and save it as a custom user door family.

<New><Family><C:\ProgramData\Autodesk\RVT 2015\Family Templates\English Metric\Metric Door.rft>

<Save As><Family><C:\ProgramData\Autodesk\RVT 2015\Libraries\PS\Doors\External Doors\OpenDoor.rfa>

custom user door family in revit

Delete the architraves since their profiles are extruded from elevations and will not be suitable for our use.

custom user door family in revit 2

The resulting plan view looks like this:

custom resulting plan

Create a reference plane to which the face of the door jamb profile will be attached and name it, appropriately, “dj_p_Face”.

<Create><Datum><Reference Plane>

revit reference plane revit reference plane 2

Create a type parameter that will position the door jamb profile with respect to the reference plane coinciding with the exterior face of the wall.

parameter properties

Dimension and select as the label the door jamb face offset dimension parameter.

door jamb face offset dimension parameter

Set the door jamb face plane as the active work plane and view it from the exterior elevation.

revit reference plane 3

revit reference plane 4

Create a new sweep, sketch a path on the door opening edge and then align and lock the path to the reference planes.

Creating a new sweep in revit

Creating a new sweep in revit 2

Creating a new sweep in revit 3

Accept the profile. Change the view to the plan view so the sketch plane can be seen from the top.

sketch plane view in revit

sketch plane view in revit 2

Select the profile that is required.

revit profilesrevit profiles 2

Notice that the profile can be flopped, rotated and moved if needs be. When it is positioned as required, accept the profile.

Align and lock the profile to the vertical plane coinciding with the right hand side of the door opening and align and lock the profile with the horizontal plane defining the face of the door jamb

revit door jamb

Migrate to a 3D view and flex the family (change the width and height of the door and see if the sweep adjusts accordingly). Flex the family smaller and larger to see if it adjusts both ways.

revit family types

revit family types 2

revit family types 3

The following parameters from the door jamb family need to be associated to parameters in the door assembly
dj1_m_d
dj1_m_w
dj1_r_d
dj1_r_w

To demonstrate this we now create the same parameters in the door assembly family and call them by the same name for convenience sake (They could be named anything). Please note that using a dash in a parameter name is equivalent to interjecting a minus sign if the parameter should be used in a formula. If a parameter is called, for instance, dj1-m-d and were used in a formula, using square brackets around the name [dj1-m-d] would stop the program from getting “confused” about the dash. Also, if the parameter is of type text, it should be entered in double quotation marks.

revit family types 4

Note that three typical door family types were created

To associate the door jamb family parameters with our project parameters, select a door jamb profile family type from the project browser and <RMC><Type Properties>

revit project browser

Clicking on the little square box next to dj1’s family type parameters allows one to associate the parameter with a parameter within the door assembly family.

revit type properties

The following error can be avoided if the door assembly type parameter has the same value as that of the door jamb parameter.

revit can't make type error

When the parameter is associated it displays as blanked out with an equals sign in the little gray box on the right.

revit can't make type error 2

Associate the next three parameters in the same manner.

revit project browser 2

Note when the dimensions for the w65mm x 75mm type is done, the 75mm depth is now automatically overwritten with 65mm as is the value in the door assembly parameter! Be careful of which parameters are associated with the project (make sure they are type specific and relevant). Disassociate this dimension from the project if you have associate it as well.

The lesson to be taken home from this is that one should not expect the door jamb sweep to be driven by door jamb profile type if its dimensions are associated into the project. The main reason to associate the dimensions is to gain access to them for computation purposes (we are going to place the door panel hinge point using these associated dimensions)

Save the door family.