ListLayers Function Issue

Discussion created by samantham on Jun 7, 2012
Latest reply on Jun 7, 2012 by m.gasior
Making a script that specifies a dataframe. The script then prints out ALL layers contained within that data frame. I am able to get the script to print out a single layer within the dataframe, but not all layers within the data frame. Image below clearly illustrates.


Attempting to print the whole list of layers within the data frame by providing a range to slice with.