File and Command Dialogs are disabled after OpenDCL Palette is Loaded

Started by donnieworld, March 09, 2017, 01:32:33 PM

Previous topic - Next topic

donnieworld

After I load an OpenDCL project that contains a palette, the file dialog boxes and command dialog boxes in BricsCAD are not displayed. The command line version of commands are run. Setting FILEDIA and CMDDIA do not change the behavior.

Any help is appreciated.

owenwengerd

The most common cause of this is reset system variables (by a palette event handler). If you're certain it's not a system variable issue, then I'd test the Palette sample (OPENDCLDEMO -> double-click on Palette) to see if it works correctly. Dialogs are not displayed if a lisp function is executing, so maybe somehow whatever lisp code you use to load your palette is stuck and never returns while an inner function is executing your commands.

donnieworld

The demo runs and behaves as expected. It's my code ... makes perfect sense, thanks!