D for DIM was totally working for months!
When I type my custom pgp alias 'D' for the AutoCAD 'DIM' command, I now get the attached message. There's nothing missing!! All layers, dimension styles and text styles are available. This occurs in multiple drawings. New drawings from our template too.
Typing DIM or clicking the Dimension Ribbon button still works as it should.
The only weird thing I recently did was add a couple LISP routines to the APPLOAD Startup Suite. After noticing this issue, I removed them, but the problem remains. I'm guessing it's unrealated.
Please help.
In case you're wondering, here are the 2 LISP routines I found on the AutoCAD forums. I had been using TLEN for years with no effect. B1S is new to me, but seemed useful.
B1S
- (defun C:B1S (); = Break 1 point where Selected
- (command "_.break" pause "@")
- )
TLEN
- ;|
- TLEN.LSP - Total LENgth of selected objects
- (c) 1998 Tee Square Graphics
- |;
- (defun C:TLEN (/ ss tl n ent itm obj l)
- (setq ss (ssget)
- tl 0
- n (1- (sslength ss)))
- (while (>= n 0)
- (setq ent (entget (setq itm (ssname ss n)))
- obj (cdr (assoc 0 ent))
- l (cond
- ((= obj "LINE")
- (distance (cdr (assoc 10 ent))(cdr (assoc 11 ent))))
- ((= obj "ARC")
- (* (cdr (assoc 40 ent))
- (if (minusp (setq l (- (cdr (assoc 51 ent))
- (cdr (assoc 50 ent)))))
- (+ pi pi l) l)))
- ((or (= obj "CIRCLE")(= obj "SPLINE")(= obj "POLYLINE")
- (= obj "LWPOLYLINE")(= obj "ELLIPSE"))
- (command "_.area" "_o" itm)
- (getvar "perimeter"))
- (T 0))
- tl (+ tl l)
- n (1- n)))
- (alert (strcat "Total length of selected objects is " (rtos tl)))
- (princ)
- )
Microvellum Toolbox Build 21.1.1227.641, Library v046.0
I did update Autocad via the desktop app recently - currently Version Q.163.0.0, AutoCAD 2020.1.5, but I feel like this wasn't a problem directly after that.
MVU eLearning
Grow Your Knowledge
Follow along with RJ as he takes you on a journey to build your foundational knowledge of Toolbox.