大数跨境
0
0

ArcGIS Python 脚本界面控制

ArcGIS Python 脚本界面控制 GIS前沿
2023-02-20
0




import arcpyclass ToolValidator(object):  """Class for validating a tool's parameter values and controlling  the behavior of the tool's dialog."""
def __init__(self): """Setup arcpy and the list of tool parameters.""" self.params = arcpy.GetParameterInfo()
def initializeParameters(self): """Refine the properties of a tool's parameters. This method is called when the tool is opened.""" return
def updateParameters(self): if self.params[0].value: self.params[1].value = self.params[0].value + "_ok" return
def updateMessages(self): """Modify the messages created by internal validation for each tool parameter. This method is called after internal validation.""" return

编辑后一定要应用。


文章授权转载:gisoracle

- END -


ArcGIS制图技巧:边框的选择与制作
ArcGIS 国家2000坐标投影转换再导出CAD
ArcGIS中8位坐标转6位线定义坐标系后投影转换
ArcGIS符号库下载 | 制图规范、三调、1:1万地形图、土地利用总体规划图.....
超全!工作学习中常用的遥感、地理、生态等数据下载平台汇总

【声明】内容源于网络
0
0
GIS前沿
分享测绘地信资讯,交流行业软件技巧。
内容 4549
粉丝 0
GIS前沿 分享测绘地信资讯,交流行业软件技巧。
总阅读68
粉丝0
内容4.5k