AnsweredAssumed Answered

feature class list and display results in dataframe

Question asked by Corderotino on Dec 15, 2014
Latest reply on Dec 16, 2014 by xander_bakker
Branched to a new discussion

I'm using arcgis 10.2.2

 

 

I am trying to create a line of commands with python

list, every feature class in a feature dataset

and then display me in my data frame so that they can see on my map

 

example

 

# Set the workspace. List all of the polygon feature classes that
# start with 'G'
#
arcpy.env.workspace = "D:/St_Johns/data.gdb"
fcs = arcpy.ListFeatureClasses("G*", "polygon")

 

 

Now I need to have this result in my dataframe

  all polygons polygons starting with "G"

 

 

I have to do in my scrip to have the polygons in my dataframe?

 

Outcomes