[Qgis-user] Nested group in python
David J. Bakeman
dbakeman at comcast.net
Wed May 15 00:25:10 PDT 2013
On 05/14/2013 03:02 PM, David J. Bakeman wrote:
> On 05/14/2013 02:56 PM, Etienne Tourigny wrote:
>>
>>
>> On Tue, May 14, 2013 at 6:21 PM, David J. Bakeman
>> <dbakeman at comcast.net <mailto:dbakeman at comcast.net>> wrote:
>>
>> Is it possible to create a group within a group in python?
>>
>> li = qgis.utils.iface.legendInterface()
>> g1 = li.addGroup("g1")
>> g2 = li.addGroup("g2",g2)
>>
>>
>> did you try this?
>>
>> g2 = li.addGroup("g2", g1)
> Sorry for the typo yes that is exactly what I tried. Does it work for
> you?
I built master from source and it doesn't work there either.
P.S. I think this response is in plain text so shouldn't get rejected.
>>
>>
>>
>> The above seems like it should work but it doesn't.
>>
>> Thanks.
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list