kcarr

grouping fields

Discussion created by kcarr on Oct 13, 2011
Latest reply on Oct 14, 2011 by kcarr
I am looking for a script that would allow me to name sewer laterals according to the gravityline number, plus add "01" to each service. For example, I have five laterals that are connected to gravityline 001A0010. I'd like the laterals to be named "001A0010-01" "001A0010-02", until the last one is named "001A0010-05". Then for the next line 001A0020 the laterals would be named 001A0020-01, 001A0020-02. I don't really care which lateral is named with the -01, as long as each one has a two-digit number added. Can anyone help me with this? I'm very much a beginner in Python. Thanks!!

Outcomes