You can modify the roof and floor lines of a wall to create a non-rectangular wall.
Modifying the roof line of a wall
Modifying the floor line of a wall
You can also create non-rectangular roof and floor conditions by projecting to polylines.
AutoCAD Architecture 2022 toolset offers multiple methods of editing roof lines and floor lines. You may want to begin by graphically creating a custom roof line or floor line condition. You can then fine-tune that condition by specifying precise values in the Roof/Floor Line worksheet on the Properties palette.