<div dir="ltr">Hello all,<div><br></div><div>Can anyone tell me how can I, using Python, access to the "Add New Feature" QgsRubberBand methods? Or maybe point me to same sample code?</div><div><br></div><div>I don't want to create a new rubberband, I would like to access the one that is created by the drawing/editing maptools.</div><div><br></div><div>I can reach the current mapTool with,</div><div><br></div><div>iface.mapCanvas().mapTool()</div><div><br></div><div>But I'm not understanding how to from there</div><div><br></div><div>I wanted to use removeLastPoint() (or the undo() in ). The idea is to simulate the backspace key functionality with a button to use in a tablet device (Windows).</div><div><br></div><div>Thanks,</div><div><br></div><div>Alexandre Neto</div></div><div dir="ltr">-- <br></div><div dir="ltr"><div>Alexandre Neto</div><div>---------------------</div><div>@AlexNetoGeo</div><div><a href="http://sigsemgrilhetas.wordpress.com">http://sigsemgrilhetas.wordpress.com</a></div><a href="http://gisunchained.wordpress.com">http://gisunchained.wordpress.com</a><br></div>