All help here is very much appreciated.
I am wondering if a model or python script can skip or bypass certain specified geoprocessing functions if the models parameters are empty.
I have a model that calculates a numerical output for a single polygon where the user must input 3 parameters. There has been a desire for a single model to combine that final calculation of many polygons.
My first thought was simple, I would just copy and paste the processes within the model for each possible polygon and set the parameters so the user would input the 3 for each possible polygon.
The issue is that although the user wants to have an option to calculate this value for every polygon (and combine them after the processing), there will be cases in which some of the polygons do not need analysis, and unfortunately leaving a default "0" will crash the model immediately.
So therefore, I was wondering if I continued on my initial path, is it possible that by leaving a parameter empty, can it bypass its functions all together?
Thank you very much for your time and assistance.