Message 1 of 5
Call VBA by lisp
Not applicable
05-17-2007
09:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have inserted the following lisp instructions in to my acad2007.lsp file
to load a VBA file automatically.
My problem is, every time I open a new DWG file the lisp is trying to reload
the VBA file, is there any way to load the VBA just once when AutoCAD
starts?
Is there any better way to do this in lieu of using lisp?
(princ)
(defun S::STARTUP()
(command "_VBALOAD" "E:/ENGINEERING FOLDER/001-Ready/004-CAD
IMPORTANT/01-CADUTIL.dvb")
)
Thanks in advance.
I have inserted the following lisp instructions in to my acad2007.lsp file
to load a VBA file automatically.
My problem is, every time I open a new DWG file the lisp is trying to reload
the VBA file, is there any way to load the VBA just once when AutoCAD
starts?
Is there any better way to do this in lieu of using lisp?
(princ)
(defun S::STARTUP()
(command "_VBALOAD" "E:/ENGINEERING FOLDER/001-Ready/004-CAD
IMPORTANT/01-CADUTIL.dvb")
)
Thanks in advance.