Thanks...
Answer
-----------------
("vl.arx" "whohas.arx" "wscommcntraccon.arx")
-----------------
ACADVER = "17.0s (LMS Tech)" (read only)
|
Thanks...
Answer
-----------------
("vl.arx" "whohas.arx" "wscommcntraccon.arx")
-----------------
ACADVER = "17.0s (LMS Tech)" (read only)
The Visual Lisp Editor must be open.
Type vlide then just close it and run the routine again.
Here's a very simple version:
One could get really sophisticated with it, as Stephen did (very nice btw), but I just wanted to show the simple ins and outs.Code:;;; Convert selected .LSP file to .FAS, uses same name and places in same directory ;;; Alan J. Thompson, 10.30.09 (defun c:Lsp2Fas (/ #File) (vl-load-com) (and (setq #File (getfiled "Convert .LSP file to .FAS" "" "lsp" 16)) (vlisp-compile 'st #File) (alert (strcat "LSP -> FAS Complete!\n\n" (vl-string-subst ".fas" ".lsp" (strcase #File T)))) ) ;_ and (princ) ) ;_ defun
Thanks...
If The Visual Lisp Editor it's open and then I close it, the code it's functional, in a new sesion of AutoCAD, i can't do it.
Why?
Thanks...
It is a requirement of the vlisp-compile function. See the help menu.
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt
Thanks...Opie
That's ok,
Now, I need open the Visual Lisp console, in a code, and then closed.
It's possible?
Thanks...
Code:;;; Convert selected .LSP file to .FAS, uses same name and places in same directory ;;; Alan J. Thompson, 10.30.09 (defun c:Lsp2Fas (/ #File) (vl-load-com) (and (setq #File (getfiled "Convert .LSP file to .FAS" "" "lsp" 16)) (c:vlide) (vlisp-compile 'st #File) (alert (strcat "LSP -> FAS Complete!\n\n" (vl-string-subst ".fas" ".lsp" (strcase #File T)))) ) ;_ and (princ) ) ;_ defun
Thanks alanjt...
That's Ok.... (c:vlide)
It was a good answer....
Thanks to all...
R.K. McSwain | CAD Panacea |