irneb Posted August 30, 2013 Share Posted August 30, 2013 Irneb thanks for the advice. You mean to create a LISP inside the folder where we keep the other LISPs?When acad opens a DWG it searches for a file named ACADDOC.LSP. If it finds that it loads it and runs all codes inside. So you need to create that file and place it somewhere that acad can find it. Best place is inside one of the folders listed in acad's Support Paths (i.e. Options dialog, Files tab, Support File Search Path). You can edit that list to include any folder you like - so effectively you can place it anywhere. The simplest way I've seen is to make a folder of your own (you can place it anywhere you want - even on a network share), place all your lisps (and your own acaddoc.lsp with lines to load your other LSP files) inside that and add it to the support path. If you later have an upgrade, all you need to do is add that folder to the new acad's support paths. If you want to install your lisps on another PC, copy the folder (or if the folder is shared across the network just link to it) and add it to that PC's Acad's support paths. No matter how many lisps you've got, the same thing happens - just that one change in acad and everything's setup. With the "Trusted Paths" thingy which adesk added to 2014 (and 2013-SP1) there's one more place where you now have to add that folder. Otherwise acad will disallow any LSP/FAS/VLX/ARX/DLL file from being loaded if it's contained inside that folder. This is a bit painful, but at least only one extra thing. Also in the Options dialog, Files tab - there's now a Trusted Paths group which works the same as the Support Paths - so you need to add your folder to both of these. Quote Link to comment Share on other sites More sharing options...
Dj_T_Rex2002 Posted August 30, 2013 Share Posted August 30, 2013 Thanks I will do that. You have been a lot of help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.