Objective:
I want to rename the lines in a database in sequential order. I have just split my database on X,Y breaks, but the lines are named based on the either the X or Y coordinate.
Resolution:
Download and save the file renameline.zip from here to your local hard drive.
- GX > Run GX.
- Browse to and select the file renameline.gx and click OK.
The GX Authorization Dialog will appear. - Click Run.
The Rename Lines Dialog will appear. - For Channel to base line name on use the X channel if your lines are parallel to Y and vice-versa.
- For Line type to process, the line types can be isolated for processing.
- For First Line this will be the first line number.
- For Increment this is the ground unit increment to control the line number increment. The ground distance between lines will be divided by the Increment to yield the integer line increment.
- Click OK.
The lines in the database will now have changed.
Notes:
The will only work when lines are either N-S or E-W. This may not work for slanted lines.
The *.grc and *.gxc are only needed if you want to re-write the GX for another version.