It work.

Thx Anita,

Happy you too.

Andrea



2014/1/1 Anita Graser <[email protected]>

> Hi Andrea,
>
> Am 31.12.2013, 23:43 Uhr, schrieb Andrea Peri <[email protected]>:
>
>  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 ?
>>
>
> Guess the function has been renamed to id()
>
> http://qgis.org/api/classQgsMapLayer.html#a710f27dec806d3bcd5ae14701c2e6
> fd7
>
> Happy new year!
>
> Anita
>
> ___________________________________________________________
> anitagraser.com
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to