TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: DEVITG on February 05, 2004, 01:07:18 PM

Title: -vlide keep on command line
Post by: DEVITG on February 05, 2004, 01:07:18 PM
When I invoque -vlide at the comman line the vlisp editor open and I can do all I need to do , after loading the LISP to ACAD, the -vlide it is on the command line and I can not run the lisp , the only way I can do it is by closing the Vlisp editor.
How it can be fix??? :cry:
Title: -vlide keep on command line
Post by: daron on February 05, 2004, 01:14:56 PM
Hit esc?
Title: vlide yet
Post by: gab23 on February 05, 2004, 03:04:50 PM
when click on Esc it get back to VLISP EDITOR, the only way I can get out the vlide at the command line is by closing the VLISP editor.

using 2k2 on w98 se

I load the LISP from the Vlisp tool bar and at the Visual lisp console appears
 the following

; 2 forms loaded from #<editor "C:/Archivos de programa/AutoCAD 2002/LISP  VBA/mios/change-color-each-line.lsp">
_$

It seem to be that the vlide command keep on ,.

Command: _vlide

If i do an Enter after it, it  send me back to the Vlisp editor

 :oops:
Title: -vlide keep on command line
Post by: daron on February 05, 2004, 03:07:17 PM
What happens if you select the button in the vlide to take you into autocad?
Title: -vlide keep on command line
Post by: CAB on February 05, 2004, 06:45:29 PM
Sounds like something in the lisp you are loading is running.

Here is an example:

Code: [Select]
(defun c:test()
  (princ)
  ;;do nothing in the lisp

); end defun

;;; something here
(setq pt (getpoint))


Something is outside of a defun...

CAB
Title: -vlide keep on command line
Post by: Keith™ on February 05, 2004, 07:15:55 PM
I have experienced a similar problem in A2k and A2k4

If I start the Vlide editor and toggle back and forth between the windows by clicking on the taskbar icons after a couple of times, the vlide editor will not allow me to edit the code as if there is a function running in the background, but there is no function running and unless I close the vlide editor and reopen it, I won't be able to edit the code in the vlide window. BUT, if I open the vlide editor and then toggle back and forth using -vlide in the command line and the "return to AutoCAD" button the behavior does not exhibit itself.
Title: -vlide keep on command line
Post by: daron on February 06, 2004, 12:18:58 AM
I have that same thing happen. It's easier to go from vlide to autocad. That's why I thought hitting escape would work. It doesn't work for me the other way around and I have to type vlide in autocad to edit the vlide.
Title: acad to vlide
Post by: DEVITG on February 07, 2004, 04:49:21 PM
I solve it going to each one by clicking ot the respective icons.
Thanks