for layer in m.listLayers():
if layer.isGroupLayer and layer.name == "AerialLayers":
for subLayer in layer:
I use to be able to iterate the groupLayer with arcpy.mapping but now with arpy.mp i get the following error:
TypeError: 'Layer' object is not iterable
Any insights appreciated.
Thanks
Mike