How to split walls by levels

I’m also facing the same problem.

Any help ?