OSNAPZ (System Variable)
Controls whether object snaps are automatically projected onto a plane parallel to the XY plane of the current UCS at the current elevation.
OSOPTIONS (System Variable)
Automatically suppresses object snaps on hatch objects and geometry with negative Z values when using a dynamic UCS.