Select to view content in your preferred language

Python Add-In GPToolDialog modal dialog box

2272
2
05-28-2014 10:10 AM
EdFarrell
Occasional Contributor
I am calling a python tool (i.e. within a python toolbox) using the pythonaddins.GPToolDialog() function. The call to the to tool is made from within a python add-in button tool. The python tool dialog box launches with no problem, but the dialog box is modal. I would like it the user to still be able to interact with ArcMap. Has anyone been able to launch a non-modal tool dialog? Or, is this just a limitation? I am on 10.2.1.
Tags (2)
0 Kudos
2 Replies
JasonScheirer
Esri Alum
This will be fixed in 10.2.2.
0 Kudos
EdFarrell
Occasional Contributor
jsheirer,

Your right, the dialog box is not modal in 10.2.2. However, the pythonaddins.GPToolDialog() bug is back (see NIM-089253). I had no problem with this in bug in 10.2.1, but this is obviously a serious problem. I now have to roll back to 10.2.1 because of this. I can go on about the problems this causes, but I will save it for the bug report.
0 Kudos