Solved! Go to Solution.
Bear with me, as today is the first time I've learned anything about Python and I'm a Model Builder n00b. Here's what I'm trying to do:Select one feature in the Place feature class
Select all features in Tracts within a distance of negative 500 meters of the selected Place (I know this seems odd, but I have my reasons)
Use the "Name" field value from the selected Place feature to calculate the values of the "City" field of the selected Tracts features
Repeat for every feature in the Place feature class
What I can't figure out is how to assign the "Name" value of the selected Place feature to the "City" field of the selected features in Tracts. The Field Calculator tool seems to only allow me to assign values from within the feature class.
Here's what it looks like in Model Builder: (BTW, the "Value" output from "Iterate Feature Selection" just produces the number 25 for some reason. I can't seem to use that output as the input for the Calculate Field function.)
[ATTACH=CONFIG]27121[/ATTACH]
Thank you in advance for your help!
-Rebecca
Bear with me, as today is the first time I've learned anything about Python and I'm a Model Builder n00b. Here's what I'm trying to do:Select one feature in the Place feature class
Select all features in Tracts within a distance of negative 500 meters of the selected Place (I know this seems odd, but I have my reasons)
Use the "Name" field value from the selected Place feature to calculate the values of the "City" field of the selected Tracts features
Repeat for every feature in the Place feature class
What I can't figure out is how to assign the "Name" value of the selected Place feature to the "City" field of the selected features in Tracts. The Field Calculator tool seems to only allow me to assign values from within the feature class.
Here's what it looks like in Model Builder: (BTW, the "Value" output from "Iterate Feature Selection" just produces the number 25 for some reason. I can't seem to use that output as the input for the Calculate Field function.)
[ATTACH=CONFIG]27121[/ATTACH]
Thank you in advance for your help!
-Rebecca