Started by rakesh_rao ·
2021-04-23 07:40 UTC ·
1 replies · SMF topic #2771
rakesh_rao
2021-04-23 07:40 UTC
Dear Support,
Is it possible to use the (command...) function to call an AutoCAD (or BricsCAD) command while a modeless dialog is running. A quick cjeck and it appeared not to work. Is there any setting which would make it work?
Thanks in advance.
Best Regards
Rakesh Rao
owenwengerd
2021-04-25 13:24 UTC
The (command) function can only run from an existing command context. The usual solution is to create a wrapper command and run it asynchronously by calling
{2}; or to set the form's 'Event Invoke' property to asynchronous so the event handler itself runs in command context.