Skip to main content

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
1 vote
0 answers
69 views

Values in second columns of GPValueTable Parameter reset after tool is ran

I am trying to create a .pyt python toolbox tool in ArcGIS pro and the issue I'm running into is that Values in second columns of GPValueTable Parameter reset after tool is ran. The parameter created ...
Live Strong's user avatar
0 votes
0 answers
81 views

Merging ValueTable to geodatabase using ArcPy

I'm using a script a colleague put together a couple of years ago and there is an error when I try to run it. I know some Python but not much ArcPy. I've been fiddling with this for a couple of days ...
mikibok's user avatar
  • 47
2 votes
1 answer
703 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 ...
jonlew's user avatar
  • 451
3 votes
1 answer
1k 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 ...
jonlew's user avatar
  • 451
0 votes
0 answers
203 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 ...
mmoore's user avatar
  • 1,011
2 votes
1 answer
1k 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 ...
digiHUC's user avatar
  • 21
1 vote
1 answer
410 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 ...
user2132627's user avatar
1 vote
0 answers
403 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 ...
user2132627's user avatar
4 votes
1 answer
950 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 ...
BBG_GIS's user avatar
  • 5,825
1 vote
1 answer
193 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, ...
the_chimp's user avatar
  • 883
2 votes
1 answer
2k 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 ...
tinyplanet00's user avatar
2 votes
2 answers
392 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 ...
user1952534's user avatar
2 votes
1 answer
173 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 ...
Thomas's user avatar
  • 1,745
3 votes
1 answer
2k 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 ...
Jio's user avatar
  • 652
11 votes
1 answer
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 ...
crmackey's user avatar
  • 8,514
4 votes
1 answer
3k 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 ...
tharen's user avatar
  • 996