Timeline for Iterative position within Field Calculator/Python
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2012 at 16:13 | comment | added | MappaGnosis | Glad to help. When you get around to making your code beautiful, Google 'DRY' ('Don't Repeat Yorself'). It's a good coding principle along with others. ArcPy code generated from Model Builder is a great starting point but it is very 'dirty' and definitely NOT DRY! But, it get's you going. Clean code becomes a habit with practice ...well... to a certain extent anyway :) | |
Apr 4, 2012 at 6:31 | comment | added | Nathaniel | Awesome, it worked. I ended up using an ugly and probably inefficient combination of approaches, but it worked. I'll revisit the code when I'm better at Python and make it beautiful. The responses here provided key inspiration to get me over the hump. Awesome. | |
Apr 4, 2012 at 6:25 | vote | accept | Nathaniel | ||
Apr 3, 2012 at 8:54 | history | answered | MappaGnosis | CC BY-SA 3.0 |