<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>