GPValueTable values

Discussion created by jefferson3 on Feb 25, 2014
Latest reply on Feb 25, 2014 by jefferson3
I am trying to create a python toolbox with a tool that presents the user with a Value Table with 3 columns. I am hoping to insert data into these columns as the user interacts with the tool through "updateParameters", but cannot seem to figure out how to format the values. Can anyone just give me a single line of code that would insert one row of values into the three columns for the value table below?

The only info I could find was here where it just says
"To set default values for a value table parameter, use the values property, and provide the parameter values in a list of list of values."

But every time I try to use a list it errors.

Here is my code that I am using:

        param4 = arcpy.Parameter(

        param4.columns = [['String', 'Features'], ['String', 'Type'], ['String', 'Distance']]