laptop and a wrench

漏洞

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.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM050794
已提交November 6, 2009
上次修改时间October 11, 2024
适用范围No Product Found
找到的版本10.0 Beta
状态Will Not Be Addressed

附加信息

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.

解决办法

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", "")

重现步骤

漏洞 ID: NIM050794

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项