0

Iterate layers cycles through in other variables except Output layer.

Here you can see the cycle of Name output is working properly, but the output layer is always passed as the first one in the workspace.enter image description here

Here are my iterate layer parametersenter image description here

This was working a few days ago, nothing has been changed.

Things I've tried:

  • ArcGIS update
  • Removing all functions, starting clean in a new model,
  • setting preconditions to assure rastertoASCII runs last
  • Iterating layers in a different workspace with different and fewer
    rasters (also properly worked before). Results in same mind boggling bug.
asked Aug 4, 2022 at 15:36
1
  • As a side note, if your upgrade to arcpro 3.0 you can turn off the grouping behaviour that was introduced in 2.8. so you don't have to deal with the nutty layer names you have. Commented Aug 4, 2022 at 22:54

1 Answer 1

0

The tool before this names the layers (variable name: name of file). The layer names have %YearIOP%.tif as the variable name. I renamed this to YYIOP to remove the %s. This fixed the issue with the iterate layer tool.

Kadir Şahbaz
78.6k57 gold badges260 silver badges407 bronze badges
answered Aug 4, 2022 at 19:28

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.