laptop and a wrench

Bug

Variable of an iterator (%n%, %N%, %i%, %I%, %v%, %V%) changes its value to ‘0’ when shared as a project package in ArcGIS Pro.

Zuletzt veröffentlicht: December 28, 2021 ArcGIS Pro
Bug-ID-Nummer BUG-000143140
EingereichtSeptember 23, 2021
Zuletzt geändertJune 20, 2025
Gilt fürArcGIS Pro
Gefunden in VersionN/A
BetriebssystemN/A
BetriebssystemversionN/A
Behoben in Version3.1
StatusFixed

Workaround

  • Set input or output variables as Model Perimeter.
  • Do not create a project package as it changes the variable %n% value to 0. Share the toolbox of the project where the model is saved.
  • Change the scratch workspace of the model from the environment option in the ModelBuilder tab.

Schritte zur Reproduzierung

Bug-ID: BUG-000143140

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln