Select to view content in your preferred language

Arcgis Pro SDK call script tool

1428
4
Jump to solution
08-03-2021 02:38 AM
pspada_WT
Regular Contributor

Hi

I'm quite new in Arcgis Pro SDK. I'm trying to develop a ribbon with a button that calls a script tool. Is that possible?

 

0 Kudos
1 Solution

Accepted Solutions
pspada_WT
Regular Contributor

I've figured out how to overcome this problem. 

In the onClick event I add the event of Pin and UnPin of the geoprocessing pane.

pspada_WT_0-1628090920648.png

 

View solution in original post

0 Kudos
4 Replies
by Anonymous User
Not applicable
0 Kudos
pspada_WT
Regular Contributor

thz a lot!

0 Kudos
pspada_WT
Regular Contributor

Hi,

I've a last question.

I found that the method i was looking for is "OpenToolDialog", but i've noticed that the tool script doesn't load the first time if the geoprocessing pane isn't opened (ONLY THE FIRST TIME THERE'S THIS BUG). Do you have some suggestion?

0 Kudos
pspada_WT
Regular Contributor

I've figured out how to overcome this problem. 

In the onClick event I add the event of Pin and UnPin of the geoprocessing pane.

pspada_WT_0-1628090920648.png

 

0 Kudos