SetProgressor used in Python Toolbox

06-24-2016 07:39 AM
New Contributor II

I made a tool in the 'My Toolboxes', part of ArcMAPS. Now it does several functions and I want it to show a progress bar in the dialog box that pops up at first when one runs the script. I put the SetProgressor and nothing shows up. The box just takes the input from the parms and does it's think while shutting down after I click the 'OK' button at the bottom.

How does it work? Also same for the AddMessage. It goes to the log but not on the popup window when I run it.


0 Kudos
2 Replies
MVP Esteemed Contributor

You are running stuff in the foreground aren't you?

edit... added

Writing messages in script tools—Help | ArcGIS for Desktop

New Contributor II

Yes, in forground.

In Visual Studio and C# I have all kinds of progress bars so I want this ArcGIS/Python script to have that kind of bar and as it creates layers and GDBs (Hundreds of them) it has a progress bar that shows up how far it is along.

Thanks, I'll study it.


0 Kudos