import arcpy from arcpy import env env.workspace = r"C:\temp\python\Test.sde" lstDatasets = arcpy.ListDatasets("*") for dataset in lstDatasets: lstFCs = arcpy.ListFeatureClasses("*", "", dataset) for fc in lstFCs: lstFields = arcpy.ListFields(fc) for field in lstFields: if field.domain: print fc, field.name, field.domain
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.