AnsweredAssumed Answered

programmatically add feature class to feature dataset

Question asked by rvrijen on Nov 26, 2013
Latest reply on Nov 26, 2013 by rvrijen
Hi,

We are using ArcGIS 10.0.

We have several existing feature classes that we want to add to a feature dataset. Of course you can drag and drop the feature classes in the dataset, but our requirements dictate that all changes must be scripted.

Is it possible to use a toolbox to move a feature class into a feature dataset?

I have tried arcpy.Rename_management(r'feature_class', r'feature_dataset\feature_class'). This does not give an error and returns the text <Result 'feature_dataset\feature_class'>, but nothing actually happens. Looks like a bug to me...

Thanks!
Rob

Outcomes