• 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

RISERUN LISP: Dimension the X and Y Difference in AutoCAD

August 3, 2026

RISERUN places a single aligned dimension between two picked points, but overrides the measured text with the horizontal and vertical components of the run:

What RiseRun does

X: +1250
Y:  -300

Signed values are used deliberately. The sign tells you the direction of travel from the first point to the second, which is what makes this useful for setting out — somebody on site needs to know which way to go, not just how far.

Values are formatted to the current DIMDEC precision so they match the rest of the drawing’s dimensions.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type RISERUN.
  3. Pick the point you are measuring from first — the signs are relative to it.
  4. Pick the point you are measuring to.

How it works

The dimension itself is a real aligned dimension, so it behaves normally: it can be moved, restyled and it plots like every other dimension on the sheet. Only its text is overridden.

Pick order matters. The components are calculated from the first point to the second, so reversing the picks reverses both signs. On a setting-out drawing that is the difference between “go north-east” and “go south-west”.

Because the text is overridden, this dimension will be flagged by DIMTATTLE on a pre-issue check. That is correct behaviour — the text no longer reports the measurement — and it is worth knowing so you can confirm it rather than wonder.

Notes and limits

  • Pick the from-point first. The signs are relative to it.
  • The text is an override, so the dimension does not update if the points move, and DIMTATTLE will flag it.
  • Precision follows DIMDEC, matching the rest of the drawing.
  • One undo group covers the dimension.

Download and details

NameRiseRun — dimension the X and Y difference between two points
DownloadRiseRun.lsp — 5.2 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandRISERUN
Requiresnothing beyond a CAD platform with AutoLISP.
Source size5.2 KB, 125 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

  • SPANLINE LISP — aligned dimensions at a consistent automatic offset
  • DIMTATTLE LISP — why an overridden dimension gets flagged before issue
  • Grid systems on drawings — setout, naming and direction conventions
  • 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