AnsweredAssumed Answered

Checking if Layer Features lie within Dataframe Extent

Question asked by BrokenLegMike on Mar 28, 2012
Latest reply on Mar 28, 2012 by BrokenLegMike
hey there,

I have script that produces maps. It zooms to different parcels of land and creates maps based on each area. I have 2 layers 'Lakes' and 'Creeks'. I want to check to see if any of the Lake or Creek features lie within the dataframe extent and if they don't, I want to use:
arcpy.mapping.RemoveLayer()


I'm not really sure if you can test for this? Can anyone have a  suggestion?

Thanks,
Mike

Outcomes