ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

RemoveToolbox

  • Résumé
  • Discussion
  • Syntaxe
  • Exemple de code

Résumé

Removes the specified toolbox, either by specifying its path or referencing its alias. Removes the specified toolbox from the current geoprocessing session. Server toolboxes can also be removed using a semicolon delimiter.

Discussion

Attention :

RemoveToolbox only removes tools from the geoprocessor object; tools are not directly removed from arcpy.

Syntaxe

RemoveToolbox (toolbox)
ParamètreExplicationType de données
toolbox

The name of the toolbox, including either path or alias, to be removed from the current geoprocessing session. The name/path or alias should be placed in a double-quoted string.

Server toolboxes can be removed using a semicolon delimiter.

  • The name, including path, or alias, of the toolbox to be removed from the current geoprocessing session. Place the name/path, or alias, string inside double quotes. Server toolboxes can also be removed using a semicolon delimiter.

    • Syntax for Internet ArcGIS Server
      • URL servername;{username};{password}
    • Syntax for Local ArcGIS Server
      • machinename;servername.
    • Syntax for Internet ArcGIS Server
      • URL;servername;{username};{password}
    • Syntax for Local ArcGIS Server
      • machinename;servername

String

Exemple de code

RemoveToolbox example

Removes the specified toolbox from access by current geoprocessing session.

import arcpy

# Remove a toolbox from session
arcpy.RemoveToolbox("c:/mytoolboxes/operations.tbx")

Rubriques connexes

  • IsSynchronous
  • ListToolboxes
  • ListTools
  • Affichage des outils, des boîtes à outils et des paramètres d'environnement

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2019 Esri. | Confidentialité | Légal