pyQGIS Access functions of an installed plugin from the console

You can access any function from within an installed plugin with

from qgis import utils
myplugin_object_instance = utils.plugins['myplugin']
myplugin_object_instance.myplugin_function()

Leave a Reply

Your email address will not be published. Required fields are marked *


seven × 2 =