Auto Drafting

Field code guide

Type the code in the total station's code field as you survey. Auto Drafting reads it and draws the line, the symbol and the level. Upper or lower case; words are separated by spaces (commas, semicolons and slashes work too).

1. Lines and their number

Points with the same line code and number are joined into one line, in the order they were surveyed: RE1 is road edge 1, RE2 road edge 2. A code without a number (RE) is line 0.

Lines can be surveyed mixed together: RE1, RE2, RE1, RE2… still makes two lines, so you can walk down a road taking both edges as you go.

A point can be on two lines: WL1 GT1 is on wall 1 and gate 1. A word that is neither a code nor a control word is kept as a remark: TR NEEM is a tree, and NEEM is kept as a remark. Remarks are listed under Problems, so a mistyped code is never missed.

2. Control words

Written after the code they steer.

WordExampleWhat it does
STor STARTRE1 STStarts a new line here; the line before it ends
ENDRE1 ENDThis is the line's last point
CLSor CLOSEBLD1 CLSCloses the shape back to its first point
RECTBLD2 RECTOn the 3rd corner: the 4th corner is added (a rectangle) and the shape closed
ARCWL1 ARCA curve starts here
EARCor ENDARCWL1 EARCThe curve ends here; EARC ARC starts the next curve at once

Curves: three points make a circular arc; more points make a smooth curve through every one. A rectangle needs only three corners in order; the fourth is added opposite the second and the shape closed.

3. A worked example

What a surveyor types, point by point, and what Auto Drafting draws from it.

PointCode typedWhat it draws
1TBMTemporary benchmark symbol, with its level
2RE1 STRoad edge 1 starts
3RE1…road edge 1 continues
4RE2 STRoad edge 2 starts (the other side)
5RE1 ARCRoad edge 1: a curve starts
6RE1…a point on the curve
7RE1 EARC…the curve ends
8BLD1Building 1, first corner
9BLD1…second corner
10BLD1 RECT…third corner: the fourth is added and the building closed
11WL1 GT1On wall 1 and gate 1 at once
12TR NEEMTree symbol; NEEM kept as a remark

The sample survey is a whole plot coded this way (roads with curves, a walled plot with a gate, buildings closed and squared, trees and poles): open it in Auto Drafting to see the drawing it makes.

4. Line codes

Each line code joins its points into a line on its own layer.

Line codes
CodeFeatureLayerColourLine typeContours
BBBottom of bank (toe)TOE_OF_BANK2DashedBreakline
BLDBuildingBUILDING140ContinuousLeft out
CLCentre lineCENTRE_LINE6CenterBreakline
CVCulvert / bridgeCULVERT150ContinuousPoints used
DRDrainDRAIN4ContinuousBreakline
EPEdge of pavementPAVEMENT_EDGE1ContinuousBreakline
FNFenceFENCE3DashedPoints used
FPFootpathFOOTPATH8ContinuousBreakline
GTGateGATE30ContinuousPoints used
HTOverhead power linePOWER_LINE1Dash-dotLeft out
KBKerbKERB30ContinuousBreakline
NLNala / canal edgeNALA4ContinuousBreakline
PBPlot boundaryPLOT_BOUNDARY6Dash-dotPoints used
PIPEPipe linePIPE4HiddenLeft out
RERoad edgeROAD_EDGE1ContinuousBreakline
RLYRailwayRAILWAY8Dash-dotPoints used
SHShoulderSHOULDER40DashedBreakline
TBTop of bankTOP_OF_BANK2ContinuousBreakline
TRKTrack / kacha roadTRACK42DashedBreakline
WEWater edge (pond)WATER_EDGE4DashedBreakline
WLWallWALL7ContinuousBreakline

5. Point codes

Each point code places a symbol, sized for the drawing's scale, with the level beside it.

Point codes
CodeFeatureLayerColourSymbolContours
BMBenchmarkBENCHMARK6BenchmarkPoints used
CPControl point / stationCONTROL6Control pointPoints used
EPLElectric poleELECTRIC_POLE1Electric polePoints used
HPHand pumpHAND_PUMP4Hand pumpPoints used
KMKilometre stoneKM_STONE7Kilometre stonePoints used
LPLight poleLIGHT_POLE2Light polePoints used
MHManholeMANHOLE4ManholePoints used
NGLNatural ground levelSPOT_LEVEL8Spot levelPoints used
SBSign boardSIGN2Sign boardPoints used
SPSpot levelSPOT_LEVEL8Spot levelPoints used
TBMTemporary benchmarkBENCHMARK6BenchmarkPoints used
TFTransformerTRANSFORMER1TransformerPoints used
TPTelephone poleTELEPHONE_POLE30Telephone polePoints used
TRTreeTREE3TreePoints used
TWTubewellTUBEWELL4TubewellPoints used
VLVValveVALVE4ValvePoints used
WELWellWELL4WellPoints used

Other layers: POINTS (a point at every survey point, at its level), LEVELS (level text), POINT_NUMBERS and POINT_CODES (when switched on in the settings) and UNKNOWN_CODES (points whose code isn't in the list). Colours are AutoCAD colour numbers: 1 red, 2 yellow, 3 green, 4 cyan, 5 blue, 6 magenta, 7 white or black, 8 grey.

6. Codes and contours

  • BreaklineThe ground changes along the line (road edge, bank, drain): contours bend at it instead of cutting across.
  • Points usedIts points are on the ground and shape the surface.
  • Left outNot on the ground (roofs, overhead wires, pipes), so never in the surface.

Both choices can be changed for any code in the code editor.

7. Your own codes

Every office codes a little differently. In Auto Drafting's Codes tab you can rename a code, add your own or delete one, and choose its layer, colour, line type, symbol and whether it is a breakline.

Save this list writes it to a file (codes.json). Send it to the team and they Load a code list, so every surveyor's drawings come out the same. A code in the file that isn't in the list shows up in Problems with a one-click fix.