Questions tagged [value-table]

A Value Table is an object used within the ArcGIS geoprocessing tool set for holding multivalue parameters (in a virtual table of rows and columns). It exists only during the lifetime of the geoprocessing object that created it.

Filter by
Sorted by
Tagged with
2
votes
1answer
164 views

How to access a "geoprocessing value object" when a row in ValueTable is empty (Python Toolbox)

I have a tool with a ValueTable consisting of two columns - text (GPString) and layer (GPFeatureLayer). When I fill the parameter with desired values (field names in the first column, some feature ...
2
votes
1answer
249 views

Updating ValueTable parameter of ArcPy Python Toolbox tool

I have a shapefile and I want to calculate multiple fields using the GP ValueTable parameter. The script loads field names from a layer, then I should delete rows I don´t want to calculate and then I ...
0
votes
0answers
76 views

Allow null values from Value Table filter list in Python toolbox parameter

I'm setting up parameters in a Python Toolbox and have a Value Table with three columns. Two of the columns have value lists for the user to pick from. I would like for the user to be able to choose ...
2
votes
1answer
411 views

Python Toolbox Value Table values and list inputs

I am trying to create a Value Table I will use to create a field mapping object. First column will represent the target field, second column carries the source field. The first column is populated ...
1
vote
1answer
302 views

Derive (default) value in ValueTable based on values in ValueTable of Python Toolbox using ArcPy?

I am writing a Python Toolbox which needs Shapefiles (or Featureclasses) as input and calculates an output for each of the input files. I would like to have the possibility to rename the files in ...
1
vote
0answers
336 views

Deriving Values from Attribute Table for Value Table in Python Toolbox of ArcPy?

I would like to derive the values in the value table dynamically based on the given input shapefile. I managed to derive the values but I'm not able to delete or move any of those values if I use the ...
4
votes
1answer
814 views

How to search on values of a value list in python toolbox?

I developed a simple python toolbox that lists values of a table in the value table parameter. The user can rank each row using the Rank field drop down values.Everything is ok untill user selected ...
1
vote
1answer
137 views

Value Table in Python Script not displayed correctly?

I am trying to implement a Python Script tool where I need a table to input shapefiles and corresponding names for new created fields. I found out that there is the Value Table provided by ArcGIS, ...
2
votes
1answer
1k views

Handling multi-column value table in ArcGIS Python Toolbox?

I am building a relatively simple python tool for ArcGIS 10.3 which will automate the process of generating summary statistics for multiple raster datasets, for polygons in a polygon dataset, using ...
2
votes
2answers
219 views

Setting Python Toolbox Parameter to None without making current selection value unselectable thereafter?

I'm making a python toolbox and it has an input parameter of type GPFeatureLayer. Let's call it my_param. In updateParameters when my_param.altered, its value is added to a value table. Then I'd ...
2
votes
1answer
136 views

Disable column of Value Table in Python Toolbox?

Can I disable a column based on another column? Let's say I have a column to choose a field type (Short, String and so on) and a second column to choose the max length of a string. I would like to ...
3
votes
1answer
1k views

Creating a ValueTable with a column that has dependency

I am creating a python tool which looks like the figure below. Input feature: It asks for a input feature class. Valuetable(Lookup tables): It has two columns - one for look up tables and another ...
11
votes
1answer
4k views

Set default values for value table in Python Toolbox tool

I created a Python Toolbox tool to reorder fields and create a new feature class with the reordered fields. The tool works nicely and I am able to use a value table to let the user arrange the fields ...
3
votes
1answer
2k views

Field Filter and Value Pick List for a Python Toolbox ValueTable Parameter

In an ArcGIS Python Toolbox (pyt file), how do I specify a filter for a Value Table parameter? In my value table I have two columns. The first is a a field name derived from a selected table view and ...