Hello,
I am new to the world of python. I have a geodatabase with feature datasets and multiple types of feature classes within those datasets. I'm trying to write a script that will search through the specified geodatabase and copy items into new datasets within a new geodatabase. I also need to define a projection for the data as it goes into the new gdb.
I've been doing it manually in ArcCatalog by creating a new dataset in the target gdb and defining a projection, then importing the feature classes into it. However this has been pretty time consuming.
This is what I have so far for my script, I think I may be completely lost and I'm not sure if .da.Walk is what I should be using
gdbFrom = arcpy.GetParameterAsText(0)
gdbTo = arcpy.GetParameterAsText(1)
Projection = arcpy.GetParameterAsText(2)
for datasets in arcpy.da.Walk(gdbFrom):
for fc in datasets: