Hello,
I'm currently looking for a way to create new workspaces and custom FeatureClasses with the Pro SDK.
At the moment, i'm using Geoprocessing tools to create a new GDB workspace and a new FeatureClass (using an existing layer as a schema template).
Geoprocessing.ExecuteToolAsync("management.CreateGDB", parameters)
Geoprocessing.ExecuteToolAsync("management.CreateFeatureClass", parameters)
This is fine if I have a template FeatureClass already. But how do I go about creating custom fields? There must be a way to create FeatureClasses without geoprocessing tools?
I couldn't find anything in the geodatabase snippets page to suggest this was possible, but it seems like a pretty vital operation. Am I looking in the wrong place?
Any help greatly appreciated!
Best regards,
Luke