<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 5/22/2023 7:44 PM, Patrick Dunford
via QGIS-User wrote:<br>
</div>
<blockquote type="cite"
cite="mid:671295dd-ae7c-8578-2b4d-b4fa02b6139e@gmail.com"><br>
extentGroup = root.findGroup(extentGroupName)
<br>
extentLayers = extentGroup.children()
<br>
for extentLayer in extentLayers:
<br>
if extentLayer.itemVisibilityChecked:
<br>
print (extentLayer.name())
</blockquote>
<br>
shouldn't that be <br>
if extentLayer.itemVisibilityChecked<span
style="background-color: rgb(255, 255, 0);">()</span>: <br>
(note the addition of parens after the method name).<br>
</body>
</html>