Hello ArcGIS-Community,
I have a problem with ModelBuilder:
I created a model (see attachment: jpg and as pythonscript [just export, I have absolutely no idea of python], how can I upload the model?) with a Workspace (Iterate Feature Classes) as Model Parameter.
Input Files are all lines (.shp) with a field called Track_ID. These lines should be buffered and to the result I want to add a field called Track_name and then with the Calculate Field an Get Field Value Tools I want to name these fields with the ID. (I think I have to do this because the Buffer Tool just gives me an output with shape length, area and none of the attributes of the original line. How can I keep them?)
The problems:
1) The last Shapefile of the input workspace isn't saved in the Geodatabase (or anywhere else) it just gets lost. And I cannot find a mistake in my model. The Geoprocessing Result Window says Succeeded and all calculation are done (also with 'succeeded') even with the 'lost one'
2) The Get Field Value-Tool should grab the ID (looks like: 003) and give it as value to the field calculator as data type string. But even with that data typ it is losing the zeros and I get only a 3 instead of 003 in the output.
Info: (ArcGIS 10, ArcInfo Licence)
Many Thanks, you are helping me a lot.
MichaelBa