| arc.progress_pos {arcgisbinding} | R Documentation |
Geoprocessing tools have a progressor, which includes both a progress
label and a progress bar. The default progressor continuously moves back
and forth to indicate the script is running. Using
arc.progress_label and arc.progress_pos allow
fine control over the script progress. Updating the progressor isn't
necessary, but is useful in situations where solely outputting messages to
the dialog is insufficient to communicate script progress.
arc.progress_pos(pos = -1)
pos |
Progress position (in percent) |
Using arc.progress_pos allows control over the progrssor position
displayed at the top of the running script. The position is an integer percentage,
0 to 100, that the progress bar should be set to, with 100 indicating
the script has completed (100%).
Setting the position to -1 resets the progressor to the default progressor, which continuously moves to indicate the script is running.
Understanding the progressor in script tools
Currently only functions in ArcGIS Pro, and has no effect in ArcGIS Desktop.
This function is only available from within an ArcGIS session, and has no effect when run from the command line or in background geoprocessing.
arc.progress_label,
"Progress Messages" example Geoprocessing script
## Not run: arc.progress_pos(55) ## End(Not run)