Skip to main content
added 31 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

how bout layer = qgis.utils.iface.activeLayer()? DunmoYou could try:

layer = qgis.utils.iface.activeLayer()? 

I do not know why uyou still need to use it in the latest qgisQGIS.

how bout layer = qgis.utils.iface.activeLayer()? Dunmo why u still need to use it in latest qgis.

You could try:

layer = qgis.utils.iface.activeLayer()? 

I do not know why you still need to use it in the latest QGIS.

Notice added Needs detailed answers by Mapperz
Source Link

how bout layer = qgis.utils.iface.activeLayer()? Dunmo why u still need to use it in latest qgis.