The following process allows for creation of a door containing an offset parameter. This will allow specific placement of the door within the wall.
First, you want to edit the door family and create a parameter for the offset distance. Next, add a dimension line and parameter to the following:
1. Face of wall to end point of door swing line [offset parameter].
2. Door panel end to end, to allow for the width to properly update as the door moves within the wall [width parameter].
3. There should already be a 0’-0” dimension in place for the face of wall to door panel line; you can simply assign the new offset distance parameter to this dimension line [offset parameter].
This example uses the wall face as the offset reference, but you can also set the offset with the center reference plane if needed.