AnsweredAssumed Answered

arcpy add-in progress bar

Question asked by shaunrconway on Oct 16, 2015
Latest reply on Oct 20, 2015 by rastrauch

Is it possible to add a progress bar to an ArcPy Add-in in ArcGIS 10.2.2?  I've tried adding the following code to the add-in with out any success.

 

arcpy.SetProgressor("step", "Copying shapefiles to geodatabase...", 0, 10, 1)

 

and

 

arcpy.SetProgressorPosition()

 

I have an add-in that updates a series of feature classes that takes anywhere from 30 secs to a few minutes depending on the machine. A progress bar would be a great addition to the tool from a UX perspective.

 

Thanks!

Shaun

Outcomes