laptop and a wrench

Error

The Raster Calculator tool fails to execute in a model with an iterator when the layer name in 'Map Algebra expression' contains the '%' symbol in ArcGIS Pro.

Última publicación: December 10, 2021 ArcGIS Pro
Número de ID del error BUG-000143605
EnviadoOctober 12, 2021
Última modificaciónJune 5, 2024
Relacionado conArcGIS Pro
Versión encontrada2.8.3
Sistema operativoWindows OS
Versión de sistema operativo10.0
Versión corregida3.0
EstadoFixed

Solución alternativa

Rename the inline variable name of the Raster Calculator tool's input from the model

Right-click the Raster Calculator tool's model input variable (that contains the inline variable %Name%), click Rename, and name it without the % symbol. Once the variable is renamed, revalidate and run the model.

  • Note: This only changes this intermediate variable's variable name, not its value or the file output name from any previous tool, which will still be based on the name of the feature class being iterated over.

Manually remove extra % symbols from the Raster Calculator tool's expression

Open the Raster Calculator tool in the model and remove the extra % symbol that surrounds the whole variable name. For example, change "%%Name%_IDW%" to "%Name%_IDW". Once the extra % symbols are removed, revalidate and run the model.

Pasos para reproducir

ID del error: BUG-000143605

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga