Question: lines are non coplanar autocad?
Answer: Select all of the lines to be modified. Right-click and select Properties. Set Start Z and End Z to 0 (zero) or another consistent value. The default may show "Varies."