<?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 Re: Determine if AutoCAD is unresponsive in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5973238#M37647</link>
    <description>&lt;P&gt;Sorry, It was my mistake.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find it here :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2012/04/batch-purging-of-drawing-files-using-scriptpro-20.html" target="_blank"&gt;http://adndevblog.typepad.com/autocad/2012/04/batch-purging-of-drawing-files-using-scriptpro-20.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2016 06:25:35 GMT</pubDate>
    <dc:creator>Balaji_Ram</dc:creator>
    <dc:date>2016-01-05T06:25:35Z</dc:date>
    <item>
      <title>Determine if AutoCAD is unresponsive</title>
      <link>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5963678#M37640</link>
      <description>&lt;P&gt;I have built a batch app that launches AutoCAD and "does some stuff".&amp;nbsp; What I would like to add to the programming is a "catch" should AutoCAD lock up or otherwise become unresponsive after a certain amount of time.&amp;nbsp; Can someone point me in the right direction?&amp;nbsp; I am using C Sharp for this particular program, and the 2015 version of AutoCAD.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 18:12:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5963678#M37640</guid>
      <dc:creator>dennis</dc:creator>
      <dc:date>2015-12-23T18:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if AutoCAD is unresponsive</title>
      <link>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5963720#M37641</link>
      <description>&lt;P&gt;System.Diagnostics.Process has a boolean property "Responding" which you can test is an application's &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;UI&lt;/STRONG&gt;&lt;/FONT&gt; is responding or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I write "UI" in bold and red to emphasize that "responding or not" only indicates the UI status, it DOES not necessarily mean the app is not working. In your case, since you use an external app to automate AutoCAD, it is reasonable that AutoCAD's UI may not be responding but still do its batch work properly as the external app requested. So, I do not think simply counting the time of UI being not responding and then kills AutoCAD process is a good approach.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rather, for a batch processing, you may consider to use acad's core console/or Autdesk's cloud services for the batch processing, instead of automating heavy-UIed desktop app AutoCAD. Or, forget external app automating AutoCAD and do the batch inside AutoCAD with side database loading/processing.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 18:52:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5963720#M37641</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2015-12-23T18:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if AutoCAD is unresponsive</title>
      <link>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5963790#M37642</link>
      <description>You could also monitor other process params as a sign of "life", like changes in the amount of memory, io etc.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Dec 2015 19:58:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5963790#M37642</guid>
      <dc:creator>SENL1362</dc:creator>
      <dc:date>2015-12-23T19:58:20Z</dc:date>
    </item>
    <item>
      <title>Re : Determine if AutoCAD is unresponsive</title>
      <link>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5964212#M37643</link>
      <description>&lt;P&gt;May be you can use &lt;A href="https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-ActiveX/files/GUID-820F93B4-7B83-4708-8E21-0D43D7D1C828-htm.html" target="_self"&gt;Application.GetAcadState&lt;/A&gt;() if you're out-of-process.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 09:09:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5964212#M37643</guid>
      <dc:creator>FRFR1426</dc:creator>
      <dc:date>2015-12-24T09:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if AutoCAD is unresponsive</title>
      <link>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5964219#M37644</link>
      <description>&lt;P&gt;There is a nice explanation here of the inner working of the responding property: &lt;A href="http://stackoverflow.com/a/6781937/200443" target="_self"&gt;http://stackoverflow.com/a/6781937/200443&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 09:23:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5964219#M37644</guid>
      <dc:creator>FRFR1426</dc:creator>
      <dc:date>2015-12-24T09:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if AutoCAD is unresponsive</title>
      <link>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5971286#M37645</link>
      <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy new year to you !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are already great answers in this thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just wanted to add that you may also have a look at the ScriptPro 2.0 source code from the Autodesk Exchange Store.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I remember that it handles a scenario where AutoCAD does not respond and it needs to restart it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 07:19:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5971286#M37645</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2016-01-04T07:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if AutoCAD is unresponsive</title>
      <link>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5971609#M37646</link>
      <description>&lt;P&gt;Balaji: You got me at "source code", however, on the Exchange App site, when I search for Script Pro, i get nothing.&amp;nbsp; But did find reference via Google which sent me to a forum that provided a link, and that link goes to the Labs, but then says the page is not found.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 12:38:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5971609#M37646</guid>
      <dc:creator>dennis</dc:creator>
      <dc:date>2016-01-04T12:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Determine if AutoCAD is unresponsive</title>
      <link>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5973238#M37647</link>
      <description>&lt;P&gt;Sorry, It was my mistake.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find it here :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2012/04/batch-purging-of-drawing-files-using-scriptpro-20.html" target="_blank"&gt;http://adndevblog.typepad.com/autocad/2012/04/batch-purging-of-drawing-files-using-scriptpro-20.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 06:25:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/determine-if-autocad-is-unresponsive/m-p/5973238#M37647</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2016-01-05T06:25:35Z</dc:date>
    </item>
  </channel>
</rss>

