Questions tagged [choice-list]
The choice-list tag has no usage guidance.
8
questions
2
votes
0
answers
78
views
Is there a way in pyQGIS to change parameter inputs based on what the user selects in other parameters?
Say I have a number of inputs in a python script. If a user selects a certain value in an input then the other inputs can change/disable/new parameters pop up that where hidden, ect.
Is there anything ...
1
vote
1
answer
160
views
Restricting one parameter value list against another's chosen value in Python Toolbox using ArcPy with ArcGIS Pro
I have a script loaded as a toolbox into ArcGIS Pro. It has two multi-value string parameters.
Is there a way to restrict the second parameter's list against the first?
For example, if a user picks &...
3
votes
1
answer
87
views
Performing operations on Python Script tool startup
I want to perform a selection on tool startup in order to obtain a choice list for parameter derived from selected features. Code kind of works, as I get my choice list with correct values, however it ...
2
votes
1
answer
1k
views
Creating multi-value choice list of field values and using selected for select in ArcPy?
I am using ArcMap 10.3.
I have created a multi-value choice list following this blogpost:
https://blogs.esri.com/esri/arcgis/2012/07/16/generating-a-multivalue-choice-list/
I changed the validation ...
1
vote
1
answer
537
views
Creating dropdown option when setting up Python script into ArcToolbox? [closed]
I created a script that I will import to an ArcToolbox. On the display name section, I have asked the user to choose a workspace, select the shapefile, field name, and an option to make a pdf, jpeg or ...
7
votes
2
answers
4k
views
ArcGIS Python Script Tool Field Name Drop Down?
I have a python script that checks file path names for corresponding files in a drive location. All of the inputs were originally hard coded, and it works well enough:
import arcpy
import os
...
0
votes
0
answers
351
views
Generating choice list (dropdown) in toolbox to allow user to select field in CSV as input? [duplicate]
I need to input a csv as parameter 1. Parameter 2 should be a dropdown displaying the various fields (the headerline) where I can select a column to use for geoprocessing.
Param1: c:\my.csv
Param2:...
11
votes
3
answers
5k
views
Generating multivalue choice list in ArcGIS using Tool Validation without using Frequency
I am using ArcMap 10.2.
I'm trying to adapt a model and script combination found on ESRI's blog site titled
'Generating a multivalue choice list'.
However, I've concluded that part of the validation ...