Is it possible to copy a feature dataset but not feature classes within using python?
Export it as an XML, making sure you check the schema only option. Then import it into the new location.
Hope that helps.
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.
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.
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...
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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.