Is it possible to copy a feature dataset but not feature classes within using python?
Solved! Go to Solution.
Export it as an XML, making sure you check the schema only option. Then import it into the new location.
Hope that helps.
Export it as an XML, making sure you check the schema only option. Then import it into the new location.
Hope that helps.
Thanks Jeff. I had no idea about this. Here was looking for a workaround and there is a pre-made thing right there in think right there in arc. lol. I feel a little foolish. oh well lose some win some. Thanks for the help
I am testing it now... to see if it can handle all of the datasets at once. If so there will be no need for automation...
Do you want the feature classes without the features? If so I think the most straightforward way would be to run CreateFeatureDataset_management (using the input feature class for the CS) and CreateFeatureClass_management (using the input feature classes inside the input feature class as schema templates). If you needed to do this more than once, this could be pretty straightforward to automate using ModelBuilder or Python.
Thanks Curtis. I think that the schema method is what I want at this time. Thanks for the input that is very good to know for the future.