Toggle Osnap for locked objects?

To work in ghosted view and have objects locked (blue transparent) it is sometimes very hard to achieve precise object snaps which I want to snap to the active (not locked objects) as you see in this example there are all the vertices interfering.

Is there a way script or macro to toggle them temporarily off for locked objects?

Thank you

_SnapToLocked _Toggle

1 Like

wow thanks Mitch!