AnsweredAssumed Answered

Adding all GIS Layers from a folder

Question asked by rdg129 on Oct 6, 2011
Latest reply on Feb 7, 2012 by clockwise
Anyone know how to create a looping statement that adds all the GIS layers from a folder?  Using arcpy.mapping.

Here is what I got:

arcpy.env.workspace = '#whatever the folder is'
mxd = arcpy.mapping.MapDocument("Current")
fclist = arcpy.ListFeatureClasses()
for fc in fclist:
     .....#something to add to your feature classes