I have a lisp file I would like to load and run, but I have not done this since R12, when it was simple. I'm using 2006 and am confused as to which folder I should place the lisp file into so I can load it and then type it into the command line to run it.
Create folder called "LISP" (or Cream Cheese if you want, but it might be distracting) next to your Support Folder (look in Options)
Save all your custom lisp files in there.
Make sure you add the LISP folder in your ACAD search path (again, in Options) Now your files are accessible, but will need to be loaded prior to each first use, every session. Optional -->
In ACAD, type APPLOAD. You can put all your most-used favorite files in the Startup suite. This way, they get loaded every time you open a drawing.
You can create a dump lisp file that contains calls to every other function. Like this:
(DEFUN c:ligne_axecall () (LOAD "C:/Program Files/Autodesk/Acadm 2006/Acadm/LISP/Ligne_axe.lsp" ) ;_ end of LOAD (c:ligne_axe) ) ;_ END defun
(DEFUN c:clefcall () (LOAD "C:/Program Files/Autodesk/Acadm 2006/Acadm/LISP/clef.lsp" ) ;_ end of LOAD (c:clef) ) ;_ END DEFUN
(DEFUN c:cusextcall () (LOAD "C:/Program Files/Autodesk/Acadm 2006/Acadm/LISP/cusext.lsp" ) ;_ end of LOAD (c:cusext) ) ;_ END DEFUN
(DEFUN c:drillpointcall () (LOAD "C:/Program Files/Autodesk/Acadm 2006/Acadm/LISP/dp.lsp" ) ;_ end of LOAD (c:dp) ) ;_ END DEFUN
and then create buttons/macros that call (for example) "c:ligne_axecall" or (OTOH) "c:cusextcall" or even (going on a limb here) "c:drillpointcall" Only 1 file is actually loaded upon opening, all the only others when needed, automatically.
Dr Fleau We are born naked, cold and starving. Then things get worse.
"Michael Bulatovich" a écrit dans le message de news: snipped-for-privacy@news3.newsguy.com...
PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.