This software can filter entities under cursor to calculate osnap point. In other words, can exclude entities from osnap.
AlxdOSnapFilter for AutoCAD 2002
AlxdOSnapFilter for AutoCAD 2004
AlxdOSnapFilter for AutoCAD 2010