eplisp

Coordinate Grid with E/N Labels (CGRD)

eplisp, the free multilingual LISP library

Coordinate Grid with E/N Labels (CGRD)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsCGRD
CategoryDrawing and Editing
AuthorBGol Community
Sourcethevijayparmar/bgol-cad-lisps
LicenseMIT
RequirementsAutoCAD (including LT 2024 and later), BricsCAD and other CAD programs with AutoLISP. No Express Tools needed.
Prompt languageEnglish
FilesCOORDGRID-bgol.lsp (5 KB)
Added2026-10-26
Download the original fileSource repository

Draws a coordinate grid over a picked area at a given spacing and labels the lines with "E" (Easting) values at the bottom and "N" (Northing) at left.

CGRD is a BGol Community routine for adding a coordinate grid to survey maps and site plans. Instead of arraying lines and typing labels by hand, it draws the grid from a few inputs.

Overview

You pick the lower-left and upper-right corners and enter the grid spacing. The extents are expanded to multiples of the spacing, and horizontal and vertical LINE objects are drawn at those multiples. A TEXT label such as "E 1234" is placed below each vertical line and "N 5678" to the left of each horizontal line; values are rounded to whole units and the text height is 8% of the spacing.

Lines and labels go on the layer BGOL-CGRD, which is created in grey if it does not exist.

How to use it

  1. Load COORDGRID-bgol.lsp with APPLOAD.
  2. Type CGRD at the command line.
  3. Pick the lower-left corner of the grid area.
  4. Pick the upper-right corner.
  5. Enter the grid spacing.

Notes and limitations

  • Coordinates are written in WCS; in a rotated or moved UCS the result may not match the points you picked.
  • The top and right limits are always pushed one extra spacing out. With negative coordinates the lower/left limit is rounded toward zero, so the grid may not cover the whole area.
  • Labels are rounded to whole units, so it is not suited to spacings below 1.
  • Creates the layer BGOL-CGRD if it is missing.
  • The repository is new (2026); test the routine on a copy of the drawing first.

Source and license

This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.

References

  1. Source repository: thevijayparmar/bgol-cad-lisps – https://github.com/thevijayparmar/bgol-cad-lisps/tree/3acbe32f71b489f4c81dcd9372f989591a9be858/Land%20Survey%20Lisps/Draw%20Grid
  2. Author: BGol Community – https://bgol.in/
  3. License: MIT – https://github.com/thevijayparmar/bgol-cad-lisps/blob/3acbe32f71b489f4c81dcd9372f989591a9be858/LICENSE

Found a mistake, or are you the author of this tool? Request a correction or removal