SetProgressor used in Python Toolbox

1459
2
06-24-2016 07:39 AM
PaulHacker2
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.

Thanks!

0 Kudos
2 Replies
DanPatterson_Retired
MVP Emeritus

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

edit... added

Writing messages in script tools—Help | ArcGIS for Desktop

PaulHacker2
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.

Paul

0 Kudos