Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

programmatically add feature class to feature dataset

$
0
0
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

Viewing all articles
Browse latest Browse all 2485

Latest Images

Trending Articles



Latest Images