laptop and a wrench

Bogue

Multi-input tool parameters, such as buffer distance and XY tolerance do not accept in-line variables for the numeric value and default the value to zero.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM050794
EnvoiNovember 6, 2009
Dernière modificationOctober 11, 2024
S’applique àNo Product Found
Version trouvée10.0 Beta
StatutWill Not Be Addressed

Informations supplémentaires

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Solution de contournement

A workaround exists that involves creating a script tool that contains only the buffer. This will accept a numeric parameter and concatenate it with a hard-coded unit of measure to create the linear distance string expected by the tool:import sys, string, os, arcgisscriptinggp = arcgisscripting.create()gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/Analysis Tools.tbx")input1 = sys.argv[1]out = sys.argv[2]Long = sys.argv[3]gp.Buffer_analysis(input1, out, Long +" Miles", "FULL", "ROUND", "NONE", "")

Étapes pour reproduire

ID de bogue: NIM050794

Logiciel:

  • No Product Found

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