Madruga_SP Posted July 4, 2014 Share Posted July 4, 2014 Hi guys! I've loaded my lisps through Appload command. But some lisps didn't load in my autocad 2014. So I'm trying to load them through ACADDOC.lsp file. But couldn't do it. Maybe you can help em out. It is just simple my friends, the lisps are in this path :"C:\Program Files\Autodesk\AutoCAD 2014\Support\autolisp" the lisp's names are rrt.lsp, ocl.lsp and stm.lsp Help me please, I don't know what to do. Thank in advance Quote Link to comment Share on other sites More sharing options...
7o7 Posted July 4, 2014 Share Posted July 4, 2014 Be sure that the path "C:\Program Files\Autodesk\AutoCAD 2014\Support\autolisp" is in Options > Support Files Search Paths. In your ACADDOC.lsp (or acad.lsp) write lines: (load "rrt") (load "ocl") (load "stm") Quote Link to comment Share on other sites More sharing options...
Madruga_SP Posted July 4, 2014 Author Share Posted July 4, 2014 acad2014.lsp ;;; ;;; Use of this software is subject to the terms of the Autodesk license ;;; agreement provided at the time of installation or download, or which ;;; otherwise accompanies this software in either electronic or hard copy form. ;;; ;;; ;;; ;;; Note: ;;; This file is normally loaded only once per AutoCAD session. ;;; If you wish to have LISP code loaded into every document, ;;; you should add your code to acaddoc.lsp. ;;; ;;; Globalization Note: ;;; We do not support autoloading applications by the native ;;; language command call (e.g. with the leading underscore ;;; mechanism.) (if (not (= (substr (ver) 1 11) "Visual LISP")) (load "acad2014doc.lsp")) (load "rrt") (load "ocl") (load "stm") ;; Silent load. (princ) Didn't work. What's wrong? Quote Link to comment Share on other sites More sharing options...
7o7 Posted July 4, 2014 Share Posted July 4, 2014 Note: ;;; This file is normally loaded only once per AutoCAD session. ;;; If you wish to have LISP code loaded into every document, ;;; you should add your code to acaddoc.lsp. Put (load "rrt") (load "ocl") (load "stm") in acaddoc.lsp, not acad2014doc.lsp. Be sure that all your lsp files is in "C:\Program Files\Autodesk\AutoCAD 2014\Support\autolisp" path and tell CAD know where to find them by putting this path in Options > Files > Support File Search Path > Add if there isn't. Quote Link to comment Share on other sites More sharing options...
Madruga_SP Posted July 4, 2014 Author Share Posted July 4, 2014 There isn't acaddoc.lsp file in AutoCAD2014\Support There are acad2014.lsp and acadinfo.lsp. I don't know what to do... Quote Link to comment Share on other sites More sharing options...
7o7 Posted July 4, 2014 Share Posted July 4, 2014 Make a new one acaddoc.lsp or acad.lsp (by notepad is ok) in your cad root directory (same location with acad2014.lsp). Quote Link to comment Share on other sites More sharing options...
Madruga_SP Posted July 4, 2014 Author Share Posted July 4, 2014 just create acaddoc.lsp in support. The add that line: (load "rrt") (load "ocl") (load "stm") right? Quote Link to comment Share on other sites More sharing options...
7o7 Posted July 4, 2014 Share Posted July 4, 2014 That's OK, and don't forget the options to register the location of your lsp file. Quote Link to comment Share on other sites More sharing options...
Madruga_SP Posted July 8, 2014 Author Share Posted July 8, 2014 Sorry for delay Thank you very much 7o7, Worked fine!!! Brazil 2 x 1 Germany today!!! Quote Link to comment Share on other sites More sharing options...
7o7 Posted July 8, 2014 Share Posted July 8, 2014 Glad to hear that! you are welcome! Quote Link to comment Share on other sites More sharing options...
Madruga_SP Posted July 8, 2014 Author Share Posted July 8, 2014 Thank you very much!! 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.