Plotting Autoplant 3d piping drawings

I'm looking for some answers on how to plot (hidden) underground pipe with varying grades. I need the underground pipe to show up as hidden (dashed line). I don't have a problem doing this with a consistent grade, but with a varying grade I have no easy way to do this.

Any answers?

I'd like to know how other people handle this.