You can use anchors to change the position and orientation of a door.
Doors can be anchored to specific locations in walls or door and window assemblies, so that when the wall or door and window assembly moves or changes size, the location of the door in that object remains constant.
Doors that are anchored in a wall can have endcap styles applied to them. The endcap shapes for wall openings are defined in the wall style and are a property of the wall.