Flatten Command - put everything in the same plane

I used to deal with AutoCAD flatten command very often, specially when I had to deal with Topographic CAD files, the architectural drawing on it normally are not in the same plane, making a lot of commands unavailable, like "Fillet! between lines.

Does anybody know how to make everything in the same plane, like "Flatten" Command in AutoCAD?

Thanks