• 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

DIMCLASH LISP: Find Overlapping Dimensions Before Issue

August 3, 2026

Two dimensions sitting on top of one another are unreadable at plot size but look perfectly fine on screen at working zoom. They routinely survive all the way to the printed sheet, where the contractor cannot read either figure. DIMCLASH finds them before that happens.

What DimClash does

This is a pre-issue QA check. Press Enter at the prompt and the whole drawing is checked — every layout and every block definition, so dimensions buried inside blocks are found too. Or select specific dimensions to check just those.

Offending dimensions are moved to a DIMOVERLAP layer, created red and continuous, so they are immediately obvious.

Nothing is deleted and nothing is moved in space. Only the layer changes, so a single UNDO reverses the whole check — you can run it on a drawing you are about to issue without any risk of leaving it altered.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type DIMCLASH.
  3. Press Enter to check the whole drawing, including every layout and block definition, or select specific dimensions.
  4. Look at what landed on the red DIMOVERLAP layer and fix it.
  5. Undo the check when you are done, or delete the layer.

How it works

Each dimension is reduced to the line its dimension text sits on — not its extension lines, and not the points it measures. That line is derived from the dimension line point (DXF 10) and the definition points (13 and 14) by projecting perpendicular from the measured run.

That choice is what makes the check useful. Extension lines cross each other constantly on a normal drawing and mean nothing; it is the text colliding that makes a sheet unreadable.

Two dimensions clash when those lines lie along one another and their extents overlap. Both the case of shared endpoints and the case of one line running through another are tested, which is what lets it catch dimensions overlapping from either side rather than only the straightforward head-on case.

Notes and limits

  • Linear and aligned dimensions only. Radial, angular and ordinate dimensions have no comparable dimension line and are excluded by the selection filter.
  • It only changes layers. Geometry, positions and values are untouched, and one undo puts everything back.
  • Press Enter to check everything, including inside block definitions — which is where the overlaps nobody has noticed usually are.
  • Remember to clear the layer before issuing, or the red dimensions plot red.

Download and details

NameDimClash — find dimensions that overlap and flag them on their own layer
DownloadDimClash.lsp — 16.4 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandDIMCLASH
Requiresthe ActiveX layer (loaded automatically by the routine with vl-load-com).
Source size16.4 KB, 401 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

  • DIMTATTLE LISP — the other pre-issue dimension check: overridden text
  • Dimensioning to metric standards — the conventions a checked drawing should meet
  • 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