Hi, This code from the PyQGIS Developer CookBook seem to be deprecated.
layer = qgis.utils.iface.activeLayer() layer.getLayerID() The qgis-console return this error: Traceback (most recent call last): File "<input>", line 1, in <module> AttributeError: 'QgsVectorLayer' object has no attribute 'getLayerID' I'm start to learn the python in qgis. Is there another choice for get the ID of active layer ? Thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù -----------------
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
