Field name of Extract multi values to points changes for repeated run in Model Builder

2195
11
09-14-2017 11:16 AM
ChamnabEM
New Contributor II

Hi,

I am using Model Builder using: extract multi values to points from a raster, and then use the extracted value as input feature of building another raster.

My problem is that after create the Model, when I run first time, it worked well but from second time it didn't work because every time I run it, the new field was created with number at the end, and the raster building read only the first field that was set.

Ex: In the Model, in field name "vegetation" was set to extract multi value to points and raster building. For running from second time, the filed name created from extract value to points turned to "vegetati_1", "vegetati_2"... while the setting in raster builder was still to read field "vegetation". So that the raster created found no changes even if the input data was changed.

Could anyone share your idea on this?

0 Kudos
11 Replies
DanPatterson_Retired
MVP Emeritus

Can't confirm, I do Python not Modelbuilder, but give it a whirl and report back

0 Kudos
KedaravindanBhaskar
New Contributor III

Hello Chamnab,

I've faced a similar problem and found that deleting the newly created fields from the attribute table of the output of the Extract Multi-Value to Point tool allowed you to reset the output name. It is a bit tedious but this option worked best for me.

Hope you find this useful.

0 Kudos