Select to view content in your preferred language

MakeRasterLayer - strange layer names using ModelBuilder

319
2
Jump to solution
08-09-2023 06:13 AM
Gordon_Aberdeen
New Contributor III

Hi All,

another MakeRasterLayer question:

For the layername I am using %Name% 

the names of the layers look like:

 

%Name%:<the name of my layer>

for example

%Name%:RasterName1

%Name%:RasterName2

 

For some reason the Layer names are adding a non-interpreted value %Name% and the Colon..in front of each layer with the MakeRasterLayer in ModelBuilder.

Gordon_Aberdeen_1-1691586583213.jpeg

 

 

 

1 Solution

Accepted Solutions
DuncanHornby
MVP Notable Contributor

I've been complaining about this very issue, it was functionality that was introduced into ArcPro in version 2.9 I think. It breaks all sort of model logic. So in response to this ESRI have not accepted it was a bad idea, get rid of it, they just put in an option to turn it off /on. I have it turned off!

Go to application options > Modelbuilder tab > and turn it off!

DuncanHornby_0-1691587857566.png

 

View solution in original post

2 Replies
DuncanHornby
MVP Notable Contributor

I've been complaining about this very issue, it was functionality that was introduced into ArcPro in version 2.9 I think. It breaks all sort of model logic. So in response to this ESRI have not accepted it was a bad idea, get rid of it, they just put in an option to turn it off /on. I have it turned off!

Go to application options > Modelbuilder tab > and turn it off!

DuncanHornby_0-1691587857566.png

 

Gordon_Aberdeen
New Contributor III

Brilliant! Thanks for fix!

0 Kudos