Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Python add-in, GPToolDialog and Feature Set

$
0
0
Hi,

I have a script tool that has a feature set (interactive user input, e.g. draw a freehand polygon) as one of its parameters and works OK when run from ArcToolBox.

I plan to share this tool conveniently as a python add-in, so I tried invoking this GP tool using pythonaddins.GPToolDialog on an add-in button, but it seems that didn't work because, while the tool dialog appears on click, the dialog is modal in nature which prevents me from switching to the map frame to draw? Is this a limitation of pythonaddins.GPToolDialog?

Cheers,

JJ

Viewing all articles
Browse latest Browse all 2485

Trending Articles