Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.cad.autocad AutoLISP FAQ (part 1/2) - general
Section - [16] LISP programs operating over multiple drawings

( Part1 - Part2 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Houses ]


Top Document: comp.cad.autocad AutoLISP FAQ (part 1/2) - general
Previous Document: [15] (command "ROTATE3D") does not work! Why?
Next Document: [17] How to export Visual Lisp functions to AutoLISP/AutoCAD?
See reader questions & answers on this topic! - Help others by sharing your knowledge
  "I am having trouble getting a lisp file that will open a drawing and
  continue running. Once the new drawing is opened the LISP file ceases
  to exist in the Autocads memory. It has to be reloaded to recognise
  the commands."

  LISP memory is reloaded on a per drawing basis.  There are some
  ways to execute a LISP on multiple drawings:
  1) via a script that executes on multiple files.
     MYSCRIPT.SCR:
     (load "mylisp")
     _QSAVE _OPEN !nextdwg
     (load "mylisp")
     _QSAVE _OPEN !nextdwg
     ...
   2) External 3rd party software such as RunLisp, ScriptPro or DDSCRIPT automate
      step 1.
   3) R14 has a new feature, called 'Persistent LISP'.
      Set it in Preferences-Compatibility-Persistent LISP
   4) Vital LISP has a built-in variable to act as Persistent LISP:
      (setq *VILL-NEW-FULL-INIT* nil)   ;keep symbols between sessions
   5) same with Visual LISP: (setq *VLISP-NEW-FULL-INIT* nil)

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: comp.cad.autocad AutoLISP FAQ (part 1/2) - general
Previous Document: [15] (command "ROTATE3D") does not work! Why?
Next Document: [17] How to export Visual Lisp functions to AutoLISP/AutoCAD?

Part1 - Part2 - Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
rurban@xarch.tu-graz.ac.at (Reini Urban)





Last Update March 27 2014 @ 02:11 PM