Homeโ€บ Blogโ€บ VNUM LISP: Export Polyline Vertex with Auto Numbering Free Download
๐Ÿ“ LISP

VNUM LISP: Export Polyline Vertex with Auto Numbering Free Download

๐Ÿงฎ 1  |  ๐ŸŸข 1
17 Mar 2026 Trishunya Team
VNUM LISP: Export Polyline Vertex with Auto Numbering Free Download
๐Ÿ“ LISP · CAD UTILITIES

VNUM LISP: Export Polyline Vertex with Auto Numbering (Free AutoLISP Download)

๐Ÿ“… 17 Mar 2026 ๐Ÿท๏ธ CAD BGBgol Global
VNUM AutoLISP routine, Export Polyline Vertex with Auto Numbering, shown inside a CAD window

VNUM numbers every vertex across one or more selected polylines or polygons sequentially, continuing the count across objects rather than restarting per object, marks each number directly on the drawing, and exports the same numbered data to a CSV file. Drawing numbers always match CSV rows, which is especially useful for setting-out (staking) work in the field.

VTXNUMOUT-bgol (Export Polyline Vertex with Auto Numbering)

CATEGORY
Polyline Lisps
COMMAND NAME
VNUM
LISP FILE
VTXNUMOUT-bgol.lsp
LICENSE
Open-source, free

Command Type: AutoLISP routine (works in AutoCAD, BricsCAD, ZWCAD and most AutoLISP-compatible CAD platforms)
Developed by: BGol Community, bgol.in

Inspired by the general concept of numbered-vertex export utilities used in CAD/survey drafting. This is an original, independently written routine, new file name, new command name, new source code, created so the CAD community has a free, editable, open-source alternative.

Overview

VNUM numbers every vertex across one or more selected polylines or polygons sequentially, continuing the count across objects rather than restarting per object, marks each number directly on the drawing, and exports the same numbered data to a CSV file. Drawing numbers always match CSV rows, which is especially useful for setting-out (staking) work in the field.

How to Use

  1. Load VTXNUMOUT-bgol.lsp into your CAD session (drag-and-drop the file onto the drawing window, or use the APPLOAD command).
  2. Type VNUM at the command line and press Enter.
  3. Select one or more polylines/polygons.
  4. Press Enter to finish the selection.
  5. Choose a location and file name for the .csv output (defaults to vertexlist.csv).
  6. Every vertex is numbered on-screen on a dedicated layer, BGOL-VNUM (colour yellow), and the same numbered rows are written to the CSV.

Why Use It

  • Field-ready traceability, on-drawing numbers match CSV rows exactly, so field crews can match drawing vertex numbers to the corresponding coordinate list.
  • Continuous numbering, numbering continues sequentially across multiple selected objects, producing one unified point list even when working with several separate polygons at once.
  • No manual cross-referencing, removes the slow, error-prone task of manually numbering and matching points before exporting.

Where to Use It

  • Setting-out/staking work where field crews need a numbered coordinate list that corresponds exactly to numbered points on the design drawing.
  • Any land survey or construction layout task requiring a traceable, numbered point export from multiple polygon/polyline objects at once.
  • Preparing coordinate data for import into a Total Station or GPS data collector, where point numbers must be unambiguous and consistent with the design drawing.

Notes

  • Works on LWPOLYLINE entities; select all polygons/polylines you want included in a single selection so numbering continues correctly across all of them.
  • LWPOLYLINEs store a single Elevation property (not per-vertex Z), so the Elevation column reflects that per-object value.
  • On-drawing number labels are placed on layer BGOL-VNUM; edit the text height constant in C:VNUM if you need larger or smaller labels.
  • Source code is fully open, feel free to study, modify, and redistribute it under the same open, free-for-all spirit.

Credits

Developed and shared for the CAD community by BGol Community. Website: https://bgol.in/ Free and open-source, use it, modify it, share it, for personal or commercial work alike.

Frequently Asked Questions

What CAD platforms does VNUM work on?

VNUM is a standard AutoLISP routine, so it runs in AutoCAD, BricsCAD, ZWCAD, and most other AutoLISP-compatible CAD platforms without modification.

What should I know before using VNUM?

Works on LWPOLYLINE entities; select all polygons/polylines you want included in a single selection so numbering continues correctly across all of them.

What is the main benefit of using VNUM?

Field-ready traceability, on-drawing numbers match CSV rows exactly, so field crews can match drawing vertex numbers to the corresponding coordinate list.

Is VNUM free to use for commercial projects?

Yes. VNUM is fully open-source and free to use, modify, and redistribute for both personal and commercial work, developed and shared by the BGol Community.

How do I load the VNUM command into my drawing?

Drag and drop VTXNUMOUT-bgol.lsp onto your open drawing window, or load it through the APPLOAD command, then type VNUM at the command line to run it.

๐Ÿค About BGol Community

BGol Community of Advanced Surveying builds and shares free, open-source tools for the survey and CAD drafting community.

๐Ÿ™Œ Made with โค๏ธ by BGol Community of Advanced Surveying

Free, open-source, and built for the CAD community, for personal or commercial use, always.

Back to all articles