import arcgisscripting gp = arcgisscripting.create(9.3) gp.workspace = "<full path to your feature dataset>" # e.g. C:/workspace/geodatabase.gdb/featureDataset blnTopologyFound = False for objDataset in gp.ListDatasets(): if gp.Describe(objDataset).DataType == "Topology": blnTopologyFound = True break if blnTopologyFound: print "Topology exists and is called " + str(objDataset) else: print "No topology found"
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.