Go to a view where the slanted compartmentation should be. Create a reference plane and name it. In this example the reference plane name is “Stairs”.
Go to Architecture → Ref Plane
Draw the line by one of the walls.
Note: Make sure reference planes are visible in the view.