How to "know" if an element is visible in the drawing or not?

Hello experts 

I use some custom macros for autotagging; and they work fine and well while the drawing is limited by a relatively small number of FPLA section planes. However if the number of FPLAs is large, my algorithm for determining whether an element is in the visible part of the drawing becomes slow; and then, when SPLAs come into play I kind of gave up. 

Is there a simple, possibly aveva-native way to find out if something is actually in the visible part of the drawing? 

Thanks!!