[Qgis-developer] Python: how to set snapping options?

Andreas Neumann a.neumann at carto.net
Wed Nov 23 08:42:38 EST 2011


 Hi,

 I'd like to programmatically set the snapping option I just added with 
 my python plugin:
 * turn on snapping within its own layer
 * set avoid intersection

 Does anyone have a hint or code how to accomplish this?

 Thanks,
 Andreas

-- 
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland


More information about the Qgis-developer mailing list