2017-07-21 16:42 UTC
I have created an OpenDCL based app that is automatically started whenever a drawing is opened. Things work fine but whenever I use (command "_.open fileName) I get this runtime error:
Using:
BricsCAD 16
OpenDCL 8.1.3.1
To test this you can add:
to your *doc*.lsp (on_doc_load.lsp if you are a BricsCAD user).
And then (after restarting the CAD-program of course) copy-paste this in the Command Bar:
Where fileName must be a valid file name.
My workaround is to use (dcl-SendString) instead of (command).
The application is available here (freeware, for BricsCAD only):
http://www.b-k-g.nl/bkg_browser.html
Error: NIL value not allowed.
Function: dcl-Form-ShowUsing:
BricsCAD 16
OpenDCL 8.1.3.1
To test this you can add:
(load "C:\\Program Files (x86)\\OpenDCL Studio\\ENU\\Samples\\@AllSamples.lsp")to your *doc*.lsp (on_doc_load.lsp if you are a BricsCAD user).
And then (after restarting the CAD-program of course) copy-paste this in the Command Bar:
(command "_.open fileName)Where fileName must be a valid file name.
My workaround is to use (dcl-SendString) instead of (command).
The application is available here (freeware, for BricsCAD only):
http://www.b-k-g.nl/bkg_browser.html