I want to get a list of all the field names, field, types and field lengths for all feature classes in a file geodatabase.
I am using ArcGIS Pro 2.5. The list should be readable with comma separated values for each row in the output list.
Any help from the community would be greatly appreciated!
GT
The first thing you'll want to do is get a list of the feature classes. Be sure you have set your workspace properly. Then for each of your feature classes, get a list of fields and the associated information you are after.
Take a look at the links and see if you can figure out a workflow. Post up any additional questions.
See my GitHub Gist: ArcPy: Describe Geodatabase Contents · GitHub . It provides a basic framework you can build off of to show fields and data types.