OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: CADwiesel on May 28, 2021, 05:17:13 AM

Title: Problem with odcl and BricsCAD v15
Post by: CADwiesel on May 28, 2021, 05:17:13 AM
Hi Owen,
i figured this out:
when i execute an lisp file, which starts with an opendcl dialog for selecting several dwg files, than closing this opendcl dialog, the lisp file is continuing as follows:
- opening one file after each other, by using the _open command
- executing different stuff
- closing the file by using the _close command
finnishing the lisp.
at the End i get these message:
; ----- Error around expression -----
(OPENDCL_INIT_UI)
;
; error : no function definition <OPENDCL_INIT_UI> ; expected FUNCTION at [eval]

Also the function (dcl-get-projects) isn't availlable anymore.

this only happens in BricsCAD V15. All the newer releases are not infected by this.

What's your opinion?

Best Regards
Title: Re: Problem with odcl and BricsCAD v15
Post by: owenwengerd on May 28, 2021, 07:40:22 PM
I don't recall specific problems with V15, but from your description of the symptoms it might be caused by an unhandled exception in the Lisp engine while evaluating an event handler. Have you tried to pin it down to a specific event handler?
Title: Re: Problem with odcl and BricsCAD v15
Post by: CADwiesel on May 31, 2021, 05:51:14 AM
there is nothing i can link to opendcl.
All opendcl actions are done when running rest of the Lisp code.
The opendcl part only belongs to selecting files by using a form.
After that i unload the form.

When i reload the opendcl brx, the functions still not available.
all other BricsCAD Releases didn't have this behavior.
Title: Re: Problem with odcl and BricsCAD v15
Post by: owenwengerd on May 31, 2021, 09:57:14 AM
I think your best bet is to submit a support request to Bricsys along with a reproducible test case.