<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Prevent user from canceling LISP execution in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/prevent-user-from-canceling-lisp-execution/m-p/3601896#M14393</link>
    <description>&lt;P&gt;Is there any way to lock AutoCAD to prevent the user from canceling the execution of a Lisp function? I have a long running Lisp function that I don't want the user to accidentally cancel (typically by running another command).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, I have accomplished this by using a DCL dialog box. I use (new_dcl) to open the dialog, but don't call (start_dialog). When the function is finished, I call (term_dialog) to close it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works well, but the dialog flashing on the screen is annoying to some of my users and I was wondering if there was another way to accomplish this.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Aug 2012 17:25:06 GMT</pubDate>
    <dc:creator>David_Robison</dc:creator>
    <dc:date>2012-08-30T17:25:06Z</dc:date>
    <item>
      <title>Prevent user from canceling LISP execution</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/prevent-user-from-canceling-lisp-execution/m-p/3601896#M14393</link>
      <description>&lt;P&gt;Is there any way to lock AutoCAD to prevent the user from canceling the execution of a Lisp function? I have a long running Lisp function that I don't want the user to accidentally cancel (typically by running another command).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, I have accomplished this by using a DCL dialog box. I use (new_dcl) to open the dialog, but don't call (start_dialog). When the function is finished, I call (term_dialog) to close it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works well, but the dialog flashing on the screen is annoying to some of my users and I was wondering if there was another way to accomplish this.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2012 17:25:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/prevent-user-from-canceling-lisp-execution/m-p/3601896#M14393</guid>
      <dc:creator>David_Robison</dc:creator>
      <dc:date>2012-08-30T17:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent user from canceling LISP execution</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/prevent-user-from-canceling-lisp-execution/m-p/3602234#M14394</link>
      <description>&lt;P&gt;Preventing users from cancelling a long operation is generally frowned upon, but you have to disable the main window to prevent user interaction from occurreing. Better would be to either&amp;nbsp;hide the AutoCAD window while the operation is running, or start a new hidden instance of AutoCAD&amp;nbsp;and perform your operation in the hidden instance.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2012 20:54:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/prevent-user-from-canceling-lisp-execution/m-p/3602234#M14394</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2012-08-30T20:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent user from canceling LISP execution</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/prevent-user-from-canceling-lisp-execution/m-p/3603278#M14395</link>
      <description>&lt;P&gt;Thanks for the suggestion--disabling the AutoCAD window itself appears to be working pretty well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know allowing them to cancel the operation would be best, but in this case, properly canceling would take longer than finishing.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2012 15:20:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/prevent-user-from-canceling-lisp-execution/m-p/3603278#M14395</guid>
      <dc:creator>David_Robison</dc:creator>
      <dc:date>2012-08-31T15:20:09Z</dc:date>
    </item>
  </channel>
</rss>

