I  want to enable the snapping options for the the existing layers using python programming.How can i do that?