AnsweredAssumed Answered

script works randomly when used in a toolbox

Question asked by rml on Apr 28, 2010
Latest reply on Apr 29, 2010 by rml

I have a very simple script that tests the number of objects selected in a layer to use as a precondition for other processes in the model. The script has 3 parameters - number to test, minimum and maximum - and 1 if condition. It works fine when executed in python but it gives random results when used in a toolbox.

I'm using ArcGIS 9.2 in Windows XP Professional. I've attached script and toolbox (as txt files)

Any one else with similar problems?

Thanks in advance