laptop and a wrench

Bogue

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.

Dernière publication: December 10, 2021 ArcGIS Pro
Numéro d’ID de bogue BUG-000143605
EnvoiOctober 12, 2021
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée2.8.3
Système d’exploitationWindows OS
Version du système d’exploitation10.0
Version de correction3.0
StatutFixed

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000143605

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement