WAPOL_GIS

Process multiple text files - which iterator

Discussion created by WAPOL_GIS on Sep 25, 2012
Latest reply on Sep 25, 2012 by m.gasior
I am using ArcGIS v 10 and want to iterate through multiple text files and use a submodel to 1) create x-y event layer 2) create feature class and 3) append.  Each time it is run there may be different numbers of files with different names.

Logically, I would think the ITERATE FILES is the correct one to use - and this works in v10.1 .  However, in v10 it appears that I have to use ITERATE TABLES, which only works if I DON'T set a wildcard to only process text files.  If ITERATE FILES is used in the model, it presents a default file name value of FILE.TXT (which doesn't exist in the folder) and the submodel will not validate.  If I put an "empty" file of that name in the folder, the submodel fails when it tries to process the empty file. 

Am I missing something?

Outcomes