Categories

AutoCAD 2015 and AutoCAD LT 2015 Bible

The most comprehensive AutoCAD book around!

Automatically follow a linear dimension with a continued dimension

Ted Harris e-mailed me an AutoLISP routine that he uses to follow a linear dimension with a continued dimension. He notes, “one rarely enters one Dim, at least in a production environment.” I’ve updated his solution for recent versions of AutoCAD.

(defun c:dlc () (command “_dimlinear” pause pause pause) (command “_dimcontinue”) )

Add this to your acad.lsp file or create a separate LSP file and load it. When you’re ready to dimension, enter dlc and press Enter. (DLC stands for dimension linear continued.) The command starts the DIMLINEAR command and pauses for you to specify the start and end point and place the dimension line. Immediately afterward, the DIMCONTINUE command starts and you can continue to dimension.

Ellen Finkelstein

3 comments to Automatically follow a linear dimension with a continued dimension

  • Giny

    Hello,

    I can’t get this to work. I have tried to put it in a acad.lsp file and also to create a separate .lsp file. It does not work. I am using Autocad 2011. Please some help needed.

    Thank you.

  • IAN

    Putting your lisp file in the acad.lsp file will not work as this will only load ONCE when autocad is first started up.You need to put your lisp file in the acaddoc.lsp file which is loaded with every new drawing file.Put this code into your acaddoc.lsp file and try it out:
    (load “your file name”)
    (vl-load-com)

    Or alternatively, you could leave your lisp file in the acad.lsp file and change the ACADLSPASDOC system variable from 0 (default) to 1.This WILL reload the acad.lsp file for every new drawing.

  • Stevie Nichols

    To do the same thing in AutoCAD LT (Only tested in 2007 but should work everywhere).

    Create a new command and put this where it says macro. ^C^C_Dimlinear;\\\_dimcontinue;

    You can name it whatever you want and add an icon to make a button for it.

    I just set it to Ctrl+D as a keyboard shortcut.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>