Hi David,

Thanks.  Found this in my trash. Sorry  for not responding sooner.  I will look at the snippet It will be handy.  So far, I have been using the plugin Builder and this https://www.qgistutorials.com/en/docs/3/building_a_python_plugin.html

It's not up to date but it gives me a good idea of the procedure.  I put the project aside this week but will probably get back to it next week.  I have never programed a GUI before so that is my biggest issues for now.  I should figure it out.

Thanks again,

Nicolas


On 2020-11-27 4:04 p.m., David Strip wrote:
And let us know how your experiment goes. I've thought about writing a plug-in, but never had a motivating problem. I did finally write a small snippet of code to add a new item to the file menu. The docs served well for the most part.

---------------------
Attached file will add new File menu item to copy selected features from the current layer to a new memory layer. On Windows place this in C:\Users\<your account>\AppData\Roaming\QGIS\QGIS3

Presumably there's an obvious similar place on Macs and Linux.


--

If you can, help others; if you cannot do that, at least do not harm them.
/Dalai Lama/

--
Nicolas Cadieux
https://gitlab.com/njacadieux

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to