View Full Version : ACAD2008.lsp
hardwired
6th Mar 2008, 11:24 am
Hi,
Is the ACAD[version].lsp file the same for all AUTOCAD products, like Architectural Desktop and AutoCAD?
I want to add a small lisp routine to everyone in the office's ACAD?????.lsp file, so it automatically loads our tools.lsp file, but want to do it as easy as possible..
Hedgehog
6th Mar 2008, 11:32 am
Easiest way to know for sure is to have a look at a couple of ones from different machines...
... some of them load a ACAD200*doc.lsp which would have to be changed (between 2007 & 2008 I don't think this file changed but it depends on your versions of course).
mahahaavaaha
6th Mar 2008, 01:49 pm
Hi,
DO NOT TOUCH the Acad200XDoc.lsp -file! Explanation:
Warning Do not modify the reserved acad2008doc.lsp file. Autodesk provides the acad2008doc.lsp file, which contains AutoLISP-defined functions that are required by AutoCAD. This file is loaded into memory immediately before the acaddoc.lsp file is loaded.so Use ACADDOC.LSP if you need routines that load with each new drawing, not just when AutoCAD starts. For the latter use ACAD.LSP, not ACAD200X.lsp. Explanation again:
Warning Do not modify the reserved acad2008.lsp file. Autodesk provides the acad2008.lsp file, which contains AutoLISP defined functions that are required by AutoCAD. This file is loaded into memory immediately before the acad.lsp file is loaded.Quotes are from AutoCAD Help -- That's the F1 -funtion!
These files are the same for all varieties of AutoCAD: MEP,MAP,DIP and DAP all alike.:roll:
/Petri
halfcracked
6th Mar 2008, 03:48 pm
Aanother route is to just add the lisp routines to the startup suite.
we keep a separate directory of office lisp routines & they are loaded by the startup suite - same functionallity no modifying default cad files.
SLW210
6th Mar 2008, 05:39 pm
Just create, if needed, and add it to acaddoc.lsp it will load with every drawing. If ACADLSPASDOC = 1 then the acad.lsp is loaded with every drawing, so you can add it there. Mechanical loads the acad.lsp not sure about the others.
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.