AnsweredAssumed Answered

Iterator in pro doesn't iterate - produces 000229

Question asked by MathiasKusk.atkins on Nov 9, 2017
Latest reply on Nov 10, 2017 by MathiasKusk.atkins

I have a model which contains an iterator.

The iterator reads from a network drive and outputs to a local location.

The local folder is defined as an inline variable, such as %localFolder%.

The output filename is defined as %Name%.

So in iterator it is %Folder%\%Name%

 

When I run the model it always runs the first tool (clip). The second tool casts a 000229, saying that it cannot open the file.

However the file exists in the proper location, with the right filename. I can import the file, it looks correct.

However the file is displayed as "FeatureClass".

 

I tried importing working models from ArcGIS basic, and rebuilding models.

As far as I can tell from the documentation there is no significant revisions in model builder, so I probabaly missedd something.

 

Hope someone solved this problem.

 

Error report:

Start Time: Friday, November 10, 2017 7:47:42 AM

Executing (Iterate Feature Classes): IterateFeatureClasses "P:\1012613 FTN Passiv RB Teknisk Rådgivning\06 Gennemførelse\Miljø\GIS\Shapes til konfliktsøgning" # # NOT_RECURSIVE

Start Time: Friday, November 10, 2017 7:47:42 AM

Succeeded at Friday, November 10, 2017 7:47:43 AM (Elapsed Time: 1.09 seconds)

Executing (Clip): Clip "P:\1012613 FTN Passiv RB Teknisk Rådgivning\06 Gennemførelse\Miljø\GIS\Shapes til konfliktsøgning\BeskyttedeStenJorddiger.shp" LH_FTN_Buffer1 C:\testmappe\Test3OS\BeskyttedeStenJorddigerclip #

Start Time: Friday, November 10, 2017 7:47:43 AM

Assembling Features...

Reading Features...

Cracking Features...

Succeeded at Friday, November 10, 2017 7:47:49 AM (Elapsed Time: 5.71 seconds)

Executing (Buffer (2)): Buffer C:\testmappe\Test3OS\BeskyttedeStenJorddigerclip C:\testmappe\Test3OS\BeskyttedeStenJorddigerbuf2 "3 Meters" Full Round "No Dissolve" # Planar

Start Time: Friday, November 10, 2017 7:47:49 AM

ERROR 000229: Cannot open C:\testmappe\Test3OS\BeskyttedeStenJorddigerclip

Failed to execute (Buffer (2)).

Failed at Friday, November 10, 2017 7:47:49 AM (Elapsed Time: 0.01 seconds)

Failed to execute (Model2).

Failed at Friday, November 10, 2017 7:47:49 AM (Elapsed Time: 7.27 seconds)

Outcomes