1

I want to create a plugin which can draw irregular polygons in QGIS. For that, I want to call the Select features by freehand default tool inside my plugin. How can I do this within a python script?

Joseph
  • 75,746
  • 7
  • 171
  • 282
Shiva
  • 89
  • 1
  • 7

1 Answers1

2

This should work:

iface.actionSelectFreehand().trigger()
Germán Carrillo
  • 36,307
  • 5
  • 123
  • 178