Tag Info

New answers tagged


I think simply this will do with VBScript, using your example of 10 fields to choose from by index (0-9): int(10*rnd) ...and with a Python codeblock using numpy: import numpy.random as R def getRandom(numFlds): return int(R.random()*numFlds) The above Python block would be called by (again using a 10 field example): getRandom(10) Extending ...


@ghostfacemapper the records do not need to be in the same order. Not true at all. Now, if you are getting an error that says: ERROR 000339: Input [YOUR FILE NAME] does not have OIDs Failed to execute (Join Field). You can fix the problem by 'adding' an objectID field by using arcGIS to make a new table that has an objectID. You can do this by ...

Top 50 recent answers are included