Problem with odcl and BricsCAD v15

Started by CADwiesel, May 28, 2021, 05:17:13 AM

Previous topic - Next topic

CADwiesel

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
Gruss,
CADwiesel
Besucht uns im CHAT

owenwengerd

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?
Owen Wengerd (Outside The Box) / ManuSoft

CADwiesel

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.
Gruss,
CADwiesel
Besucht uns im CHAT

owenwengerd

I think your best bet is to submit a support request to Bricsys along with a reproducible test case.
Owen Wengerd (Outside The Box) / ManuSoft