• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
blog.draftsperson.net

blog.draftsperson.net

the art of technical drawing

blog.draftsperson.net

GRAPHGRID LISP: Ruled and Numbered Graph Paper in AutoCAD

August 6, 2026

GRAPHGRID draws a ruled grid with both axes numbered — the background for a section through a road or drain, a settlement plot, a load curve, a pressure test, anything read off rather than dimensioned.

What GraphGrid does

Each axis takes a starting value, how much each square is worth, and how often to write a number. So a chainage axis can run 0, 25, 50 in squares of 5, and the level axis alongside it can run in metres.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type GRAPHGRID.
  3. Pick the origin corner.
  4. For each axis: the starting value, the value per square, how many squares, and how often to label.

How it works

Labels keep their decimals. Rounding each one down to a whole number is the failure that makes the whole grid useless: an axis in increments of 0.5 comes out labelled 0, 0, 1, 1, 2, 2, and an axis running in tenths comes out as a column of zeros.

The grid is built directly rather than by arraying a line. Arraying works, and leaves the result as loose objects with nothing to distinguish the grid from the plot you are about to draw on it.

Notes and limits

  • Fractional increments work, and are labelled as such.
  • The two axes are set independently — different value per square, different label frequency.
  • CMDECHO and BLIPMODE are restored to what they were.
  • One undo group covers the grid.

Download and details

NameGraphGrid — a ruled graph grid with both axes numbered
DownloadGraphGrid.lsp — 7.4 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandGRAPHGRID
Requiresnothing beyond a CAD platform with AutoLISP.
Source size7.4 KB, 186 lines
Error handlingYes — a *error* handler restores every system variable it changed, on cancel as well as on error.
UndoThe whole operation is wrapped in a single undo group, so one U reverses all of it.
CompatibilityAutoCAD (any release with AutoLISP), BricsCAD, ZWCAD, GstarCAD, ProgeCAD and other IntelliCAD-based platforms. AutoCAD LT needs a LISP enabler. No .NET, no ObjectARX, no installer.
AuthorYZ, August 2026
LicenceFree to use, supplied “as is” with no warranty.

References

  • GANTTCHART LISP — a programme bar chart on the same principle
  • SURFACEPLOT LISP — plotting a surface rather than a curve
  • GRIDREF LISP — a coordinate grid over a site plan
  • More free AutoLISP routines on this site
  • Wisey’s Steel Shapes — free structural steel section drawing program

Filed Under: AutoLISP Routines

Primary Sidebar

Subscribe to our Youtube Channel

Post CAD drafting jobs on Freelancer.com. and get some free money to do this.

Categories

  • American Steel Industry (4)
  • AutoCAD Articles & Reference (30)
  • AutoCAD Bugs & Problems (19)
  • AutoCAD Tips (29)
  • AutoCAD Tutorials (54)
  • AutoLISP Routines (328)
  • AutoLISP Tutorials (15)
  • CAD Standards (7)
  • Civil 3D (7)
  • Civil Drafting (4)
  • Dimensions (2)
  • Drafting Funnies (71)
  • Drafting History (9)
  • Drafting Standards (84)
  • Electrical Drafting (2)
  • General IT reference (7)
  • Geometry (15)
  • GIS (2)
  • Hatch Patterns (12)
  • Office Life Hacks (3)
  • PT (1)
  • Revit Tutorials (54)
  • Steel Detailing (14)
  • Structural Drafting (26)
  • Technical Dictionary (61)
  • Useful Website Links (19)

Footer

Free downloads

  • Free AutoLISP routines
  • Free hatch patterns
  • SHX fonts & text styles
  • Numbering LISP collection
  • ISO 3098B font

Reference charts

  • AWS weld symbols chart
  • Steel detailing chart
  • Hole & slot sizes
  • Bolt edge distance
  • ANSI & ARCH paper sizes
  • How to fold an A1 drawing

Useful links

  • CAD blocks (DWG)
  • Revit families
  • structuraldrafter.com
  • cad-corner.com
  • About
  • Privacy policy

Provided for free with no warranty · Log in