<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi All,<div>I have a question related to printing out the shown layers in qgis.</div><div>I made a plugin that has worked fine in the older Qgis versions but not working properly in the new version.</div><div>The problem that iam facing is that the <b>QgsProject.instance().mapLayers().values() </b>does not show me the layers shown in qgis.</div><div>So in the previous version, the below image gives me the names of the layers <b>Gasunie 2, Gasunie Z-509-05 and Wattinfra Kabelverbinding</b>. But in the new Qgis version it gives me the names <b>Overzicht entities and <a href="http://openbasiskaart.nl">openbasiskaart.nl</a></b>. Does anyone know how to tackle this problem?</div><div><img src="cid:ii_lpwqmcqt0" alt="Layers.png" width="316" height="199"><br></div><div>Thanks in advance</div><div>Kind regards</div><div>Asim</div></div></div></div></div></div>