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
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to