On Sat, Sep 29, 2012 at 03:32:58PM +0300, Alexander Bruy wrote: > AFAIK, QgsProject already available from Python. Just use > QgsProject.instance() to access it. Maybe you mean that > some methods currently not exposed in Python API?
NameError: global name 'QgsProject' is not defined Do I need to import anything special to get it ? I just added a ``QgsProject.instance()`` line into an existing plugin code... (DBManager). --strk; _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
