Update File location lisp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have this awesome lisp and it works great unless we are using our new drawing names that just became standard as well as just a simple drawing name. Is there any way to get it working again? The two other ways we name drawing files are:
00000,SLC,Lot 00,Civic 00,00000,0-0-00,Nowhere Street, 2025 Jan 27
00000,P#14-0000-0,00000,0-0-00,Nowhere Street, 2025 Jan 27.
So what has happened is a lot of commas, no spaces after the commas until after the street name. So I am guessing this lisp routines doesn't like commas or the drawing name is way too long. And yes this is actually the way the format will stay, helps IT with our databases that are set up.
I do use the open file location in acad, but would much rather type than stop and move the mouse to click.
Below is the lisp that does work great on most of our drawings.
(defun c:FL () (startapp (strcat "explorer /select, " (getvar "dwgprefix") (getvar "dwgname") ", /e")) (princ))