Insert feature class name into field from iterator in model builder

Discussion created by br8kwall on May 3, 2012
Latest reply on Jun 19, 2013 by PierUDA
in ArcGIS 10 I have a model that iterates over feature classes in a workspace. Each FC table needs to know its own feature class name for text processing later. So, in the model I add a field to the attribute tables and need to write in either the feature class name or the %Name% variable that I use earlier in the model.

Sticking %Name% into the field calculator throws an error, and using %i% just records an integer. But I need a human readable string.

Any thoughts?