Quantcast
Channel: Forums - Geoprocessing
Viewing all articles
Browse latest Browse all 1952

Model Builder: Problem Populating Attribute Fields in Tool

$
0
0
I am still new to Model Builder but have learned some of the basics. I have been trying to add attribute fields and populate them. I am working with an exisitng tool (Strip Map Index Features; under Cartography Tools in ArcMap). Upon running the tool, there are several attributes that are generated and populated in the attributes table. I have successfully added four fields to the attribute table, however they are not being populated. They are populated as 0's. This is where my lack of understanding is causing me problems.

The four fields I've added:
SMAP_NAME
SMAP_NUM
SMAP_SCALE
SMAP_ANGLE

The Strip Map Index Features tool already generates some of these attributes in the table (Angle, PageNumber), so in the simplest of cases, it would just be a matter of assigning those same values to the attribute fields that I've created (i.e., SMAP_ANGLE would get the values in Angle and SMAP_NUM would get the values in PageNumber).THe next case would be that SMAP_SCALE and SMAP_NAME would be populated from the inpute values.

So overall, there are no major complicated calculations for these attribute fields to be populated. I'm just not sure how to populate these fields that I've created. Again, they appear in the attribute table but with 0's.

Any help on this matter would be greatly appreciated. If I could just get a better understanding of how to calculate one, then I'm pretty sure I could figure out the rest. I have attached screen shots below. Thanks in advance.

P.S.
THe tools that I used to add the fields are 'Add Field' tools under Data Management Tools -> Fields


Attachment 29202 Attachment 29203
Attached Thumbnails
Click image for larger version

Name:	ModelBuilder.jpg‎
Views:	N/A
Size:	63.2 KB
ID:	29202   Click image for larger version

Name:	ModelBuilder2.jpg‎
Views:	N/A
Size:	64.3 KB
ID:	29203  

Viewing all articles
Browse latest Browse all 1952

Trending Articles