laptop and a wrench

Bogue

Validations applied to the Script tool are not honored when the tool is added to a model and the model is run as a geoprocessing tool with the Script tool parameters set as the model parameters.

Dernière publication: February 3, 2020 ArcGIS for Desktop
Numéro d’ID de bogue BUG-000107890
EnvoiSeptember 8, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS for Desktop
Version trouvée10.4
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutNon-Reproducible

Informations supplémentaires

Please try: Right-click the Script Tool > Properties > Validation tab > Edit Comment out Line 19 - 23 as follows: # if self.params[0].value == "E": # self.params[1].enabled = 1 # else: # self.params[1].enabled = 0

Solution de contournement

Add the logic of model and tool into a single Python script and use it as a standalone script tool.

Étapes pour reproduire

ID de bogue: BUG-000107890

Logiciel:

  • ArcGIS for Desktop

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement