开发者

ArcGIS Python: Using Calendars in the Graphical Interface Forms

开发者 https://www.devze.com 2023-03-22 20:38 出处:网络
I am a GIS Specialist using Python within ArcGIS10. I am creating a script and importing it into the the ArcGIS default graphical interface form. In the default forms, I can set certain parameters mad

I am a GIS Specialist using Python within ArcGIS10. I am creating a script and importing it into the the ArcGIS default graphical interface form. In the default forms, I can set certain parameters made of different data types. One of the parameters I would like to set is to have a field where the user opens a calendar and selects a date to be passed into the script. Because I am working within ArcGIS, I am not sure if I can add 开发者_运维知识库this field or not. If anyone needs more clarification as to what I want to do, let me know. Thanks.


If you are running the script in an ArcGIS 10 toolbox, a calendar popup is not possible. Even worse, it does not look like the Date data type provides any validation from the toolbox. This means that you will need to either validate that an actual date has been entered in your code or you can modify the validation code in the script properties to do this. I would do it in both.

0

精彩评论

暂无评论...
验证码 换一张
取 消