thebruce

Default values

Discussion created by thebruce on Apr 28, 2011
Latest reply on Apr 28, 2011 by thebruce
I´m trying to create a python script and I wonder how to make a default value from the attribute table of an input feature class. 

The input is a feature class. I want to take a value from the attribute table and put the value as default in the output, named "value".

eg. I have a feature class called "polygon" and it has an attribute named "width", with the value "10", I want "value" to automatically get the value 10 when I choose "polygon" as input.

Is this possible to do in ToolValidator? If so, how?

Attachments

Outcomes