Thanks Matteo and Nyall, I always appreciate your help and thanks for the various methods and pitfalls. It looks like one of these ideas should work.
All the best, Calvin On Fri, Mar 12, 2021 at 2:16 AM matteo <[email protected]> wrote: > Hi Calvin, > > I normally use addLayerToLoadOnCompletion to load some additional layer > into QGIS from Processing script: > > context.addLayerToLoadOnCompletion( > yourlayer.source(), > context.LayerDetails( > name='mylayername', > project=context.project() > ) > ) > > but maybe there are better methods :) > > Cheers > > Matteo > _______________________________________________ > 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
