Ignore everything under terrain on scan

Is it possible to ignore everything that is under terrain when scanning while using a Layered Grid Graph?
Would love to have a feature like that, at least in Pro.