In most cases, when you place a straight wall, it has a rectangular profile when viewed in elevations parallel to its length. If your design calls for a different shape of profile, or for openings in the wall, use the following procedure to edit the wall’s elevation profile in either a section or elevation view.
Design with non-rectangular walls and cut openings

Mode
panel
Edit
Profile.
If the active view is a plan view, the Go To View dialog displays, prompting you to select an appropriate elevation or section view. For example, for a north wall, you could select either the North or South elevation view.
When an appropriate view is open, the profile of the wall displays in magenta model lines, as shown.

Wall modified

Sketch lines unlocked

Finish
Edit Mode.
Mode panel
Reset
Profile.
When you edit the elevation profile of a wall that spans multiple levels and create notches such as those shown below, the new vertical edges represent jambs that are referred to in Revit as mid-end faces. Other walls can form corner joins with mid-end faces. See Joining Walls to Mid-End Faces
Wall elevation profile edited to create notches

Edited wall in 3D view

You can also create mid-end faces using the Wall Opening tool. See Cutting Rectangular Openings in Walls.