OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: goodonline on October 05, 2014, 06:27:51 PM

Title: Opendcl 8.0.0.7 Help Needed.
Post by: goodonline on October 05, 2014, 06:27:51 PM
Looking for help or possibly helping with a bug report for the latest alpha build.
This routine is bugging out on me after the _.dtext call
wish i could give you a line number!
Once you select a text option, instead of letting you type out the text it brings back the dialog (dialog should be closed for good at this point). When you cancel the dialog it crashes Autocad 2015

This routine calls or utilizes many others so you won't be able to run it effectively, but may be able to read along and see what is happening.

Autocad 2015
Opendcl 8.0.0.7

This routine runs fine up to Autocad 2014

If you need more files to test this fully, I can provide privately.

Thank you!

Title: Re: Opendcl 8.0.0.7 Help Needed.
Post by: owenwengerd on October 05, 2014, 07:39:05 PM
You need to move your call to (command) into the main function after the call to (dcl-Form-Show) returns, otherwise it can run before AutoCAD has finished closing the modal dialog. There are several recent threads in this forum about the problem if you want to read more.
Title: Re: Opendcl 8.0.0.7 Help Needed.
Post by: goodonline on October 06, 2014, 08:19:06 AM
Awesome. I also had a missing variable at the end of the close statement.

Thank you so much for keeping this project alive!

Thank you Owen!
Title: Re: Opendcl 8.0.0.7 Help Needed.
Post by: owenwengerd on October 06, 2014, 09:05:03 AM
Quote from: goodonline on October 06, 2014, 08:19:06 AM
Thank you so much for keeping this project alive!

You're welcome, I'm glad you got it resolved. Thank you very much for helping to fund the OpenDCL project!