
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am compiling a LISP routine to run a macro while invoking "-VBARUN". Here is what I have so far...
;----------------------
(DEFUN c:txtmrg ()
(COMMAND "-VBALOAD"
(getfiled "Select a DVB File" "c:/program files/ <AutoCAD installation directory>/support/" "dvb" 8))
;<invoke -VBARUN here using selected directory from getfiled>
(SETVAR "nomutt" 0)
(PRINC)
) ;end-defun
;----------------------
I can get it far enough to load the Macro directory into AutoCAD with this, but when I invoke -VBARUN and type in the file name "txtmrg.dvb" it does not recognize the file has been loaded. So...
1) What am I missing that it does not see the DVB file?
2) Is there a way to run this macro without needing the second dialog box (from "VBARUN" - no hyphen)?
Solved! Go to Solution.