• 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

TESTCARD LISP: Display Test Card and Timing Benchmark

August 6, 2026

TESTCARD draws a test card — the drafting equivalent of the old broadcast test pattern — and times how long AutoCAD takes to build, regenerate and redraw it. Use it to compare machines, graphics cards, display drivers and hardware acceleration settings, or to check that a colour scheme is legible before committing a whole office to it.

What TestCard does

What is on the card:

Colour wheel      one wedge per colour, so you can see which colours are
                    distinguishable on this screen and which two look identical
Convergence       nested right angles at eight spacings, 0.200 down to 0.025
Diagonal fan      37 lines converging at ever shallower angles
Arc nest          19 concentric semicircles, for the same test on curves
Registration      corner brackets
Timings           build, regen and redraw, in seconds

The colour wheel is the part worth having. On the convergence grid, the spacing at which the arms stop resolving into separate lines is the useful number.

Size: 11 × 8.5 drawing units, so it fits a landscape letter sheet at 1:1. It is drawn from a point you pick, so it can go in an empty corner of a real drawing without disturbing anything.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type TESTCARD.
  3. Pick a clear spot.
  4. Read the timings, then erase the card — it is all on one layer.

How it works

Everything goes on a single layer called TestCard with the colour set on each object. That tests exactly the same thing as one layer per colour, and purges in one step rather than leaving twenty-odd layers named “1” to “N” behind.

The current text style is used, so no style is created and left behind either.

Nothing is saved, and nothing is left set. EXPERT goes back to what it was, LIMITS and the view are restored, and there is no SAVE at the end — a benchmark that overwrites the drawing you had open is not a benchmark you can run twice.

Angles are computed from pi rather than typed in as decimals. A right angle written as 1.5707963 is close enough; half of one written as 0.7853984 is wrong in the seventh place, and on a fan of thirty-seven converging lines that is visible.

Notes and limits

  • One layer, one command to purge.
  • 11 × 8.5 units — a landscape letter sheet at 1:1.
  • Timings are relative. They compare machines, not absolute performance.
  • One undo group covers the card.

Download and details

NameTestCard — draw a display test card and time the machine
DownloadTestCard.lsp — 12.3 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandTESTCARD
Requiresnothing beyond a CAD platform with AutoLISP.
Source size12.3 KB, 294 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

  • STOPWATCH LISP — timing a command rather than a redraw
  • CROSSHAIR LISP — another display setting worth checking
  • 5 crazy things to do with AutoLISP — more of this sort of thing
  • 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