TheSwamp

Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: cadplayer on April 02, 2013, 09:21:00 AM

Title: Autolisp breaks down
Post by: cadplayer on April 02, 2013, 09:21:00 AM
Hello!

I have a problem with modeless dialogs, there I have install some buttons. the load of Autolispfunctions works right but if I push the button it should start (c:test). It starts the request than I can do somethings and the code breaks
 error: invalid AutoCAD command: nil

But if I type in test  (enter) the function works right, anybody have a idea what it could be ?
Title: Re: Autolisp breaks down
Post by: owenwengerd on April 02, 2013, 10:20:27 AM
Change the Event Invoke property of the button to '1 - Asynchronous'.
Title: Re: Autolisp breaks down
Post by: cadplayer on April 02, 2013, 10:32:32 AM
Thanks Own, that was the solutions.
I remember I had have the problem since a couple month ago, hopefully I merge it now.