[QGIS-Developer] Activate vertex tool with a specific polygon highligted from Python

Bo Victor Thomsen bo.victor.thomsen at gmail.com
Sun Feb 7 08:35:25 PST 2021


Hi list -

Is there any way/method - using python - to activate the Vertex Tool 
with a specific object from a specific layer ? The position and 
attribute values for the object is known.

The situation is as follows:

 1. The user has pushed a button i a plugin dialog.
 2. The function to this event automatically generates  a polygon.
 3. The geometry is calculated from the position and extend of the
    current mapper window.
 4. The polygon is inserted in a known layer.
 5. This layer is made user editable

 6. The vertex tool is activated with the inserted polygon highlighted

Point 1-5 is working fine. It's point 6 I'm asking about

-- 
Med venlig hilsen / Kind regards

Bo Victor Thomsen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210207/ea8b30f1/attachment.html>


More information about the QGIS-Developer mailing list