• 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

TIMELOG LISP: Record Drawing Time to a File

August 6, 2026

A stopwatch for drawing time. Start it against a project and an activity, stop it when you move on, and each spell is written to a file with who, what, when and how long. For billing, for job costing, or simply for finding out where the week actually went.

What TimeLog does

LOGFILE   choose where entries are written, and open it
LOGSTART  start the clock
LOGSTOP   stop it and write the entry
LOGSHOW   how long the current spell has been running

The file is comma separated, so it opens straight into a spreadsheet.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type LOGFILE once to choose where entries go.
  3. Type LOGSTART and name the project and activity.
  4. Type LOGSHOW any time to see how long you have been at it.
  5. Type LOGSTOP when you move on.

How it works

The file is opened for appending. Opening it with "w" empties it, so every session throws away every entry from the session before — which is a time log that only ever holds today.

Stopping the log stops the log. The original ran (command "END"). END was the old name for save-and-quit and was removed from AutoCAD after Release 12; on anything newer it is an unknown command, and on anything older it closed the drawing. Either way it is not what “stop logging” should do.

LOGSHOW exists so you can tell whether the clock is running, and pressing LOGSTART twice is warned about rather than silently restarting the spell.

There is no autosave in it. AutoCAD has saved on a timer itself since Release 13, controlled by SAVETIME, and a second one fighting it is worse than none.

Notes and limits

  • Entries are appended, never overwritten.
  • Comma separated — opens in any spreadsheet.
  • Set the file once with LOGFILE; it is remembered.
  • No autosave. Use SAVETIME.

Download and details

NameTimeLog — record time spent on a drawing to a file
DownloadTimeLog.lsp — 6.8 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandsLOGFILE, LOGSHOW, LOGSTART, LOGSTOP
Requiresnothing beyond a CAD platform with AutoLISP.
Source size6.8 KB, 164 lines
Error handlingNone.
UndoNot needed — this routine only reads the drawing and changes nothing.
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 single command rather than a work session
  • USAGELOG LISP — logging which commands get used
  • GANTTCHART LISP — planning the time you are about to record
  • 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