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>
Delete the architraves since their profiles are extruded from elevations and will not be suitable for our use.
The resulting plan view looks like this:
Create a reference plane to which the face of the door jamb profile will be attached and name it, appropriately, “dj_p_Face”.
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.
Dimension and select as the label the door jamb face offset dimension parameter.
Set the door jamb face plane as the active work plane and view it from the exterior elevation.
Create a new sweep, sketch a path on the door opening edge and then align and lock the path to the reference planes.
Accept the profile. Change the view to the plan view so the sketch plane can be seen from the top.
Select the profile that is required.
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
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.
The following parameters from the door jamb family need to be associated to parameters in the door assembly
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 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.
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>
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.
The following error can be avoided if the door assembly type parameter has the same value as that of the door jamb parameter.
When the parameter is associated it displays as blanked out with an equals sign in the little gray box on the right.
Associate the next three parameters in the same manner.
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)