Skip to content

R3Survey Command Inventory

Generated: 2026-06-12. Use this as the basis for help file coverage review and GitHub issue triage.

Legend: - [dev] — debug/test command, no docs URL, not intended for general users - [MLS] — MLS internal only, not in public release - [VBA] — thin wrapper around a legacy VBA macro


WC.R3Survey.Acad

System / Settings

Command Description
R3HELP Opens the R3Survey help documentation website
R3ABOUT Shows version and license information
R3UPDATE Checks for available R3Survey updates
R3UNITS Configure drawing length and area unit settings
R3TEXTSETTINGS Configure text layer names (T0–T4), current layer override, and titleblock layer
R3DWGSCALE Set the current drawing plot scale
R3PROPERTIES Open the R3Survey properties palette

Traverse

Command Description
R3TRAV Enter and draw a survey traverse

Geometry / Modify

Command Description
R3OFFSET Offset lines, arcs, polylines, or circles with unit conversion
R3REV Reverse the direction of selected lines or polylines
R3COPYPOLYLINESEGMENT Copy a single segment from a polyline
R3REMOVEDUPVERTS Remove duplicate coincident vertices from a polyline
R3BUILDLOTS Build closed lot polylines from individual lines and arcs
R3ROADFRONTAGE Create an open polyline along road frontage by tracing a path through lot edges
R3CHAINAGEOFFSET Calculate chainage and offset of comparison points relative to a base polyline

NSW LandXML

Command Description
R3IMPORTLANDXML Import a NSW LandXML file into the drawing
R3EXPORTLANDXMLNSW Export the active survey plan as NSW LandXML
R3XMLVALIDATE Pre-export validation report (LRS rules + R3Survey checks)
R3XMLREPORT Generate a human-readable text report from an exported XML file

Swing Lines

Command Description
R3SWING Main swing line management command
R3ENTERSWING Manually enter a swing by bearing and distance
R3LISTSWINGS List all swing lines in the drawing
R3TOGGLESWINGS Toggle visibility of swing line labels
R3ASSOCIATESWING Associate a swing line with a boundary entity
R3DISASSOCIATESWING Remove a swing association from a boundary entity

Dimensions

Command Description
R3DIMS Auto-route segment labels to table or inline (model and paper space)
R3DIMSSETTINGS Configure dimension label settings (text height, layer, bearing display, etc.)
R3ADDLABELS Disabled — replaced by R3DIMS
R3CREATETABLE [dev] Create a dimension table for labelled segments
R3TOGGLETABLE [dev] Toggle segments between table and inline label mode
R3RENUMBERTABLE [dev] Renumber dimension table entries
R3CHECKLABELS [dev] Check for missing or duplicate segment labels
R3CLEANLABELS [dev] Remove orphaned or invalid labels from the drawing
R3FLIP Flip any TEXT entity to the opposite side of a reference line
R3ADDRMLABELS Add RM reference mark labels to survey plan entities
R3TEXTMASK [dev] Add a wipeout background mask behind selected text
R3REPOSTEXT Reposition paper space text/leaders after a viewport scale change
R3OFFSETDIM Place an offset/clearance dimension in paper space from two model space points
R3MOVETEXTTOLAYOUT Move model space text/leaders into paper space at the current viewport scale
R3TESTBOUNDS [dev] Test label bounding box calculation

Text

Command Description
ToggleTextLayer Toggle visibility of the text layer
T0 Set text height to preset size 0 (smallest)
T1 Set text height to preset size 1
T2 Set text height to preset size 2
T3 Set text height to preset size 3
T4 Set text height to preset size 4 (largest)
R3FO Place a folio lot number text at a picked point on LOTS-TEXT layer
R3ADDPREFIX Add a prefix string to selected text entities
R3ADDSUFFIX Add a suffix string to selected text entities
R3ADDSPACESTOTEXT Add spaces to selected text
R3REMOVESPACESFROMTEXT Remove spaces from selected text
R3ADDBRACKETSTOTEXT Wrap selected text in brackets
R3ALIGNTEXTTOLINE Rotate selected text to align with a picked line
R3SPLITTEXT Split selected text at a delimiter into two separate text objects

Survey / Import

Command Description
R3IMPORTLANDXML Import a LandXML file into the drawing
R3IMPORTSCIMS Import SCIMS control marks from GeoJSON, CSV, or MOSS file as R3_PM_A blocks on the plan's Control Marks layer
R3MGATABLE Fill the MGA coordinates table block from selected SCIMS control points

Export

Command Description
R3EXPORTLANDXMLNSW Export survey data to NSW LRS LandXML format
R3EXPORTPOINTS Export selected DBPoints to CSV (Number, E, N, Z, Code)
R3PFNAME Tag selected entities with a PlanFeature name for Hexagon/Leica XML export
R3EXPORTLEICAXMLACAD Export survey points to Hexagon/Leica XML (AutoCAD, no Civil 3D)

Survey Plans

Command Description
R3PL Create and manage survey plan layer sets
R3PLANLAYERSETTINGS Configure survey plan layer naming and colour settings
R3TOGGLEPLANOVERRIDES Toggle survey plan layer colour/linetype overrides on/off
R3HIDEPLANLAYERS Hide all layers belonging to a selected survey plan
R3SHOWALLPLANLAYERS Restore all hidden survey plan layers
R3ISOLATEPLANLAYERS Isolate layers for a single selected survey plan
R3ISOLATEALLPLANLAYERS Show all plan layers while hiding non-survey layers
R3CREATESURVEYPLANBLOCK Create a block reference representing a survey plan
R3EXPORTPLAN Export a survey plan (geometry + metadata) to a temp folder for transfer
R3IMPORTPLAN Import survey plan data from the temp transfer folder into the current drawing
R3LOTEDIT Open the Lot Edit form showing geometric vs legal dimensions for a closed polyline
R3NUMBERLOTS Auto-number boundary lots sequentially (top-to-bottom, left-to-right)
R3SHOWLOTS Temporarily display lot numbers on all lots for review
R3ADDLOTS Place lot number text at the interior of each lot on the LotNumbers layer
R3BC Insert a boundary corner (R3_BC_A) block at a picked point
R3RM Insert a reference mark corner (R3_RM_A) block at a picked point
R3PM Insert a permanent mark (R3_PM_A) block at a picked point
R3INSERTCORNERS Auto-insert R3_BC_A or R3_RM_A blocks at every boundary vertex in the active survey plan
R3SYNCMARKSCALES Add every annotation scale in use (drawing, drafting and all viewport scales) to all mark blocks
R3RESETMARKS Reset per-scale positions of selected (or all) mark blocks to the Model tab position
R3UP / R3DN / R3SM Step up / step down the scale ladder / match the Model tab annotation scale (and Civil 3D drawing scale in Civil 3D)
R3ADDPMLABELS Place mark labels and connection dimensions for permanent marks
R3PMLABELSETTINGS Open label settings for permanent marks
R3FREEZECTRL Freeze selected line geometry as XData overrides (allows moving lines without affecting labels/export)
R3SHOWFROZEN Highlight all lines with frozen geometry overrides
R3UPDATELAYERSTATES Update existing AutoCAD layer states to include survey plan layers

Blocks / Titleblocks

Command Description
R3NORTH Insert a north point (R3_NORTH) block oriented to WCS north (handles viewport twist in paper space)
R3INSERTPF1 Insert a PF1 plan form titleblock
R3INSERTPF2 Insert a PF2 plan form titleblock
R3PLANFORMFILL Fill titleblock attributes from the working survey plan metadata
R3CA Copy attributes from a source block to destination block(s) — with attribute picker dialog and batch modes

Smart Strings (Civil 3D — Acad side)

Command Description
R3STRING Draw smart strings from coded survey points
R3MANAGECONFIGS Manage smart string configuration sets
R3EDITPOINTDATA Edit raw point data used for smart string processing
R3UPDATELABELS Update smart string labels in the drawing

Misc / Tools

Command Description
R3RPN [dev] RPN (reverse Polish notation) CLI calculator
R3M2 Calculate a polyline's area and append the result to a selected MText
R3TITLEBLOCKPOPULATE Populate title block attributes from drawing metadata
R3XDATA [dev] Dump R3Survey XData for a selected entity to the command line

VBA Macros — Acad [VBA]

These are thin wrappers that invoke legacy VBA macros. They require VBAIDE/VBA enabled in AutoCAD.

Command VBA Macro Description
A0 BlockRef_Insert_A0 Insert A0 title block
A1 BlockRef_Insert_A1 Insert A1 title block
A2 BlockRef_Insert_A2 Insert A2 title block
A3 BlockRef_Insert_A3 Insert A3 title block
A4 BlockRef_Insert_A4 Insert A4 title block
A4I BlockRef_Insert_A4_Ident Insert A4 identification title block
AB Text_Add_Brackets Add brackets to selected text
ALL Align_Line_to_Line Align a line parallel to another line
ALLW Align_All_Windows Align all viewports/windows
ALT Align_Text_to_Line Align text rotation to a line
BC Blockref_Insert_BDYCIR Insert boundary circle block (replaced by R3BC)
CA Block_CopyAttributes Copy attributes between block instances (see also R3CA)
DN ScaleDN Scale down (replaced by R3DN)
EASE AddEasements_New Add easement annotations
ELT ElevationText Add elevation text
EXT Add_Extension_Lines Add extension lines to dimensions
FCE DimensionStyle_FCE Apply FCE dimension style
H1–H7 Insert_Hatch1–7 Insert hatch pattern presets 1–7
HS Add_Data_HouseDesc Add house description data
LAY Insert_Layout_v2 Insert layout from title block (legacy VBA version)
LBL Add_Lines_between_Lines Add lines between two existing lines
LC Lines_to_Curve Convert lines to a curve arc
LCC Lines_to_Circle Convert lines to a circle
LST ToggleLayerStates Toggle saved layer states
MGA Convert_MGAGrid_to_Ground Convert MGA grid coordinates to ground
NO BlockRef_Insert_Standard_Notes Insert standard notes block
NOD BlockRef_Insert_Detail_Notes Insert detail notes block
NOR BlockRef_Insert_North Insert north point block (see also R3NORTH)
OB DimensionStyle_OverBdy Apply over-boundary dimension style
PER Add_Perpendicular_Line Add a perpendicular line from a point
PF1 Blockref_Insert_PF1 Insert page frame 1 block
PF2 Blockref_Insert_PF2 Insert page frame 2 block
PF3 Blockref_Insert_PF3 Insert page frame 3 block
PM Blockref_Insert_PM Insert permanent mark block
PW TextString_PartyWall Add party wall text string
R1 Convert_Diag_To_Rectangle Convert diagonal lines to a rectangle
R2 Convert_Cnr_To_Rect Convert corner points to a rectangle
R4 Convert_Quad_To_Rect Convert a quadrilateral to a rectangle
RED AddRedBdyLine Add a red boundary line
RM Blockref_Insert_RMCIR Insert reference mark circle block
SB Split_Brg_To_Parts Split a bearing into its component parts
SIG BlockRef_Insert_Signature Insert surveyor signature block
SIG2 BlockRef_Insert_Signature2 Insert second signature block
SM MatchScales Match viewport scales (replaced by R3SM)
SOP BlockRef_Insert_SOP Insert SOP (statement of particulars) block
SP2 Blockref_Insert_SPF2 Insert SPF2 block
SPF SplitFloors Split floor level annotations
STP StepLines Add step lines between levels
SW SwapTextPosn Swap text position to opposite side
TAL Text_Alter Alter selected text content
TZ Send_to_Zero Move/send entities to origin
UP ScaleUP Scale up (replaced by R3UP)
USB GetRawDataFromUSB Import raw survey data from USB
W1 DimensionStyle_WB_Opt1 Apply wall/boundary dimension style option 1
W2 DimensionStyle_WB_Opt2 Apply wall/boundary dimension style option 2
WAE BlockRef_Insert_WAE_Stamp Insert WAE stamp block
WALL Add_Wall Add a wall feature
WIN Add_Window Add a window feature
WT Text_Expand Expand/widen selected text
XRP Set_Xref_PlotStyle Set XRef plot style
XT Explode_Text_to_Parts Explode text to individual character entities

WC.R3Survey.C3D

CogoPoints

Command Description
RENUM Renumber CogoPoints on the current layer to match fieldbook number
MP Mean (average) CogoPoints within a tolerance — merge near-duplicate points
CGD Delete CogoPoints (all, by layer, or by filter)
Dh Adjust CogoPoint elevations by a delta height or reference measurement
ScaleCogo Scale CogoPoint coordinates by a Combined Scale Factor from a base point
PTINFO Display full info (number, N/E/Z, description, UDPs) for a selected CogoPoint
R3LO Toggle label override for all CogoPoint groups (enable/disable label display)
R3LR Align CogoPoint label rotation to match a selected line
R3HIDEPOINTSOPTIONS Configure the point style used when hiding/showing CogoPoints
R3HIDEPOINTS Toggle CogoPoint markers hidden/visible by label style (toggle on/off)
AT Place feature text at a survey point using Point Label Rules (Civil 3D — handles both CogoPoints and DBPoints)
ATA Place feature text at a survey point using Point Label Rules (AutoCAD — DBPoints only)
R3FINDPOINTS Search all DWGs in a folder for CogoPoints within a picked coordinate window
R3IMPORTPOINTSCSV Import points from CSV file as CogoPoints (with duplicate detection)
Dump [dev] Export CogoPoints to a text dump file
DumpIn [dev] Import CogoPoints from a dump file
R3LABELBOUNDS [dev] Display bounding boxes of Civil 3D point labels
R3TESTCOGOBOUNDS [dev] Test CogoPoint label bounds calculation
TRACEATTRIBUTES [dev] Dump User-Defined Properties (UDPs) on CogoPoints to the command line

Surfaces

Command Description
R3BUILDSURFACE Build a Civil 3D TIN surface from contourable CogoPoints and breakline layers

LandXML / XML Export

Command Description
R3EXPORTLEICAXMLC3D Export Civil 3D survey points to Hexagon/Leica XML format

VBA Macros — C3D [VBA]

These invoke legacy VBA macros via Application.AcadApplication.RunMacro(). Require VBA enabled.

Command VBA Macro Description
ADO Add_Doors Add door annotations
AS Add_Surface Add a Civil 3D surface
AW Add_Windows Add window annotations
ELE Elevation Add elevation annotation
FF Fillet_MLS MLS custom fillet routine
GG Clean_Main Run main drawing clean-up routine
HO HeightOnly_LabelStyle Apply height-only label style to CogoPoints
IL Add_Text_InvertLevel Add invert level text annotation
LAB Match_LabelRotation_To_Line Match CogoPoint label rotation to a line (legacy VBA version)
LEG Alter_Legend_Mtext Edit legend MText content
MLAB Points_MatchRotation Match point label rotation to neighbouring labels
NDO NextAvailableDoorNo Get and insert the next available door number
NWI NextAvailableWindowNo Get and insert the next available window number
PMP Points_MatchLabels Match CogoPoint label styles to nearby points
Q Change_LabelStyle Change CogoPoint label style
RAW3 Import_RawSurveyData_v3 Import raw survey data (version 3 format)
RMT Add_RM_Mtext Add reference mark MText annotation
SWAP Swap_Lbls_basedon_Attributes Swap CogoPoint labels based on attributes
TL Toggle_Trace_LabelStyle Toggle trace label style on CogoPoints
ZDO ZoomToBuildingDoor Zoom to a selected building door
ZWI ZoomToBuildingWindow Zoom to a selected building window

Debug / Test

Command Description
TESTINSERTTREE [dev] Insert a test tree block

WC.R3Survey.MLS.Internal [MLS]

These commands are only compiled into the MLS internal build and are not part of the public release.

Command Description
MLSSITESEARCH Search for cadastral/control data by address via the MLS spatial service
MLSIMPORTDCDB Import DCDB cadastral boundaries from a GeoJSON search result as polylines
R3XREF Browse and attach XRef DWGs from the current MLS job C3D folder
R3OPEN Browse and open DWG files from the current MLS job C3D folder
R3LAY Insert a layout from a title block template (native C# port of Insert_Layout_v2)
R3TRANSFORMSURVEY Best-fit align drawing to a target DWG using MARK CogoPoints (rotate+translate, no scale)
R3EASE Generate easement schedule/table for a job number
R3TITLEBLOCKFROMDB [MLS] Populate title block attributes from the MLS job database
R3TITLEBLOCKPOPULATE [MLS] Populate title block attributes (MLS internal version)
R3COPYATTRIBUTES [MLS] ~~Copy block attributes between title block instances~~ (replaced by R3CA)
R3_FIX_POINTSTYLE_MODEL_DISPLAY Fix Civil 3D point style model display component settings

Summary Counts

Project Public Commands Dev/Debug VBA Wrappers MLS Internal
WC.R3Survey.Acad ~55 5 55 0
WC.R3Survey.C3D ~12 6 21 0
WC.R3Survey.MLS.Internal 4 0 0 5

Notes for Review

Candidates for removal / cleanup

  • R3TESTBOUNDS, R3TESTCOGOBOUNDS, R3LABELBOUNDS — debug only, should not be in release builds
  • Dump, DumpIn, TRACEATTRIBUTES — dev tools left in C3D, should be gated or removed
  • TESTINSERTTREE — test command in C3D release build
  • R3XDATA — debug XData dump tool in Acad release build
  • VBA EASE (Acad) vs R3EASE (MLS.Internal) — two easement commands exist; relationship unclear
  • VBA LAY calls legacy Insert_Layout_v2; R3LAY is the native C# replacement — both exist simultaneously

Commands with inconsistent naming (no R3 prefix)

C3D commands: Dump, DumpIn, RENUM, MP, CGD, Dh, ScaleCogo, PTINFO, AT Acad commands: ToggleTextLayer, T0–T4, all VBA shortcuts (A0, ALL, etc.) These differ from the R3XXXX convention used elsewhere.