Author Topic: Autolisp breaks down  (Read 4791 times)

0 Members and 1 Guest are viewing this topic.

cadplayer

  • Bull Frog
  • Posts: 390
  • Autocad Civil3d, OpenDCL.Runtime, LISP, .NET (C#)
Autolisp breaks down
« 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 ?

owenwengerd

  • Bull Frog
  • Posts: 451
Re: Autolisp breaks down
« Reply #1 on: April 02, 2013, 10:20:27 AM »
Change the Event Invoke property of the button to '1 - Asynchronous'.

cadplayer

  • Bull Frog
  • Posts: 390
  • Autocad Civil3d, OpenDCL.Runtime, LISP, .NET (C#)
Re: Autolisp breaks down
« Reply #2 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.