<div dir="ltr">I'm also interested in the answer to this question. I was under the impression that the vertex tool (and thus  what you select in it) is not accessible from Python.<div><br></div><div>This is very unfortunate, as I would also like to do something with the selection of some of those vertices.</div><div><br></div><div>Jo</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 6, 2019 at 12:49 PM Alexandre Neto <<a href="mailto:senhor.neto@gmail.com">senhor.neto@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>Having selected a couple of vertices using the Vertex Tool, how can I have access to the selected Vertex using PyQGIS, and eventually change them?</div><div><br></div><div>I see that there is a vertex iterator, but I can't seem to understand how to get to it.</div><div><br></div><div>Use case: I have 3D lines with some problems in the Z values. I wanted to retrieve the nodes, change the z values and update them in the feature geometry.</div><div><br></div><div>Thanks,</div><div><br></div><div>Alexandre Neto</div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>