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"
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.