This content has been marked as final. Show 4 replies
When specifying the new workspace name, do NOT include the name of the feature dataset. The workspace is simply the path to the .gdb (in your case). The feature dataset will automatically get resolved.
newWorkspace = r"Z:\Data\Boundaries\Administrative\Lummi.gdb\TribalBoundaries"
newWorkspace = r"Z:\Data\Boundaries\Administrative\Lummi.gdb"
Great, that worked thanks!
What if there are more than one feature feature datasets in the gdb and each feature dataset has a feature class with the same name?
You actually cannot have a feature class with the same name, even if it resides in a separate feature dataset.
And this is why we only need to provide a path to the workspace, which in your case is the .gdb.
A good document that addresses different update data source scenarios is found at the follolwing link. It even includes a scenario that involves feature data sets.