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.itemVisibilityChecked:
print (extentLayer.name())
shouldn't that be
if extentLayer.itemVisibilityChecked():
(note the addition of parens after the method name).
_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user