ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS Desktop

Ein vollständiges professionelles GIS

ArcGIS Enterprise

GIS in Ihrem Unternehmen

ArcGIS Developers

Werkzeuge zum Erstellen standortbezogener Apps

ArcGIS Solutions

Kostenlose Karten- und App-Vorlagen für Ihre Branche

ArcGIS Marketplace

Rufen Sie Apps und Daten für Ihre Organisation ab.

  • Dokumentation
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

ArcMap

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Erweiterungen

RefreshCatalog

  • Zusammenfassung
  • Auswertung
  • Syntax
  • Codebeispiel

Zusammenfassung

Forces a refresh of the Catalog window or Catalog tree.

Auswertung

The Catalog window may not always display the latest state of all information. In these cases, it is useful to refresh your content. For instance, intermediate data created within a script tool, or using other python modules to create or move data will not be automatically shown in the Catalog window.

Syntax

RefreshCatalog (dataset)
ParameterErklärungDatentyp
dataset

Data element to be refreshed.

String

Codebeispiel

RefreshCatalog example

Forces a refresh after using shutil.copytree to copy a directory.

import shutil
import arcpy

input_folder = "c:/data/hydrology"
target_folder = "c:/test/hydro_backup"

# Copy a directory tree to a backup location
shutil.copytree(input_folder, target_folder)

# Refresh the Catalog window for the new directory
arcpy.RefreshCatalog(target_folder)

Verwandte Themen

  • RefreshActiveView

ArcGIS Desktop

  • Startseite
  • Dokumentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Über Esri

  • Über uns
  • Karriere
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Wir sind an Ihrer Meinung interessiert.
Copyright © 2021 Esri. | Datenschutz | Rechtliches