Select to view content in your preferred language

Block unnecessary environmental parameters from showing up in the custom GP tool?

438
2
06-13-2023 12:41 AM
xingchenc
Occasional Contributor

Hi everyone,

        Is it possible to block unnecessary environmental parameters from showing up in the custom GP tool? For example, if the tool I developed is for vector data analysis only, is it possible to block the "Raster Analysis" enviromental parameters from showing up in my GP?

xingchenc_0-1686641971492.png

        Thanks!

 

Updated info:

As sugguested in ths post, this is not possible (  Re: How does one specify the Environments honored ... - Page 2 - Esri Community

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

No.  It is controlled by the trigger for the environments tab.

They won't apply anyway and any setting for the raster section won't persist after the tool is run.

Documen you tool and inform the user to ignore the Raster and other Environment settings.

Otherwise, use a *.pyt toolbox and pull out the environment settings as parameters that you want and perhaps the Environments tab wil be ignored


... sort of retired...
0 Kudos
xingchenc
Occasional Contributor

Thanks Dan!

0 Kudos