Strange, I thought I had already tried that.
Thanks!
On 23/05/23 15:47, David Strip wrote:
On 5/22/2023 7:44 PM, Patrick Dunford via QGIS-User wrote:
extentGroup = root.findGroup(extentGroupName)
extentLayers = extentGroup.children()
for extentLayer in extentLayers:
if extentLayer.itemVis
On 5/22/2023 7:44 PM, Patrick Dunford
via QGIS-User wrote:
extentGroup = root.findGroup(extentGroupName)
extentLayers = extentGroup.children()
for extentLayer in extentLayers:
if extentLayer.itemVisibilityChecked:
Good day
I am using a python script running in the Qgis scripting console to read
a list of layers in the table of contents and it is supposed to be able
to find out which layer's visibility check box is checked or not by
calling the method itemVisibilityChecked.
So I have a top level group