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.

This is very unfortunate, as I would also like to do something with the
selection of some of those vertices.

Jo

On Wed, Nov 6, 2019 at 12:49 PM Alexandre Neto <[email protected]>
wrote:

> Hi,
>
> 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?
>
> I see that there is a vertex iterator, but I can't seem to understand how
> to get to it.
>
> 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.
>
> Thanks,
>
> Alexandre Neto
> _______________________________________________
> QGIS-Developer mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to