AnsweredAssumed Answered

Script to create duplicate points based on field value

Question asked by rbbunten on Aug 15, 2016
Latest reply on Aug 16, 2016 by rbbunten

I can't get this script to work.  I am trying to create create a script that takes a point file with a single point representing a location and a field in its table "UNIT_NUMBE" and create duplicate points for that single point based on the value in this "UNIT_NUMBE" field.


Attached is the script that I have so far: 



 It bails out at line28 or the line that reads     CountRange = range(InRow.count)

I get a runtime error: Row: Field count does not exist


Anyone help me with this.  Thanks in Advanced.