AnsweredAssumed Answered

How to determine True visibility of Layer in a map?

Question asked by ryankelley001 on Sep 19, 2012
Latest reply on Feb 3, 2014 by graeme
Before I start trying to write a bunch of code... has anyone figured out how to really determine whether a layer is visible or not in a map? For example, visible (checked) layers within a group layer that is not visible (unchecked) are not truly visible in an MXD. 
for lyr in lyrList:      return lyr.visible 


Is there any way to determine a relationship between a layer and it's parent group it resides in? 

The point of this is so we can give a report to the cartography dept and the report will tell them which layers were used, that were truly visible, not just "checked."  They make their maps from a list of data sources and layer files, not necessarily the MXD. 

Thanks,
Ryan

Outcomes