Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Multiple Parameters for Python Addin?

$
0
0
I'm running ArcGIS 10.1 and I'm creating a Python Addin. I'm am wondering if we can have multiple parameters for a python addin tool/button/combobox?


This is what I want to do. I want to create a button that takes 2 parameters the user will choose and zoom to an area of interest.
  • The first parameter will have a dropdown where the user chooses one of 2 items. "SITE_A_NAME" or SITE_B_NAME" (These are SDE feature classes)
[LIST][*]After the user chooses an item, they will manually enter a number (this is a site number. Both of the SDE feature classes have a field called SITE_NUMBER). [LIST]

So, now they have chosen a record in one of the 2 SDE feature classes.

When they have entered these 2 parameters, I would have them click on a button and the map will zomm to the area.

I can get the coding down, but I'm not sure if I can set 2 parameters like this?

Viewing all articles
Browse latest Browse all 2485

Trending Articles