I am trying to set snap mode within QGIS plugin.
So far, I have tried:
QgsSnappingUtils().setSnapToMapMode(QgsSnappingUtils.SnapAdvanced)
and
QgsSnappingUtils().setSnapToMapMode(2)
without success.
QGIS Snapping options (Settings>>Snapping Options...) continue with:
Snapping mode = Current layer
Any hint? (Using v 2.14.0)