Set Snapping on Layer

Discussion created by vellutini on Apr 16, 2010
Hello All -

I am attempting to set snapping on a specific layer in my mxd by a button push.  Right now I am able to toggle the Snap Window through a custom buttom, and also turn on the Edit Sketch Snap Agents.  This is taken from some code I found online.  Does anyone know how I can turn snapping on for a specific layer at the same time?  Thanks in advance.