Ground clamping geometry issue

Is there a way to clamp the linework to the ground level and not show when over a certain height or elevation? I want to stop the linework from draping over things like vehicles.