<?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: End an infinite loop (end a command) after certain time in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206830#M120455</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;The biggest problems arise with commands like trim or selection commands (because I sometimes select too many objects --- my drawings sometimes have more than 200 000 objects).&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no other solution than try to change the workflow. If you record your doing eg. by&amp;nbsp;&lt;A href="https://knowledge.autodesk.com/community/screencast" target="_blank" rel="noopener"&gt;SCREENCAST&lt;/A&gt;&amp;nbsp;we could try to suggest something. Some workarounds..&lt;/P&gt;
&lt;P&gt;But ADSK is the only one who can fix this. Make possible reasonable work with a large number of entities.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 12:54:23 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2019-12-17T12:54:23Z</dc:date>
    <item>
      <title>End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9179636#M120447</link>
      <description>&lt;P&gt;AUTODESK should create a simple command that will end any command after a user-defined time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you make a script for that?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With my computer configuration, I would probably set the time to 10 seconds, because any command that runs more than 10 seconds on my computer is an endless loop, and I would probably need to force close the program and lose data.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 14:06:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9179636#M120447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T14:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9179661#M120448</link>
      <description>Why not fix the reason your AutoCAD hangs and freezes all the time instead?&lt;BR /&gt;Your AutoCAD variant and year version as listed in ABOUT command is what?&lt;BR /&gt;Your Windows OS is what?&lt;BR /&gt;Your video card is what?&lt;BR /&gt;&lt;BR /&gt;Otherwise... Customization forums are here to help you code whatever you want if it is possible, Autodesk is never going to do what you wrote &lt;A href="https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2019 14:18:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9179661#M120448</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2019-12-03T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9180639#M120449</link>
      <description>&lt;P&gt;What commands are you having problem with?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 21:04:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9180639#M120449</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2019-12-03T21:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206556#M120450</link>
      <description>&lt;P&gt;I don't believe you can fix the reasons &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would say that the reason AutoCAD is slow is because of single core limits.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use Autocad 2019 Civil 3D with&lt;BR /&gt;Windows 10&lt;/P&gt;&lt;P&gt;intel i7 8700k&lt;/P&gt;&lt;P&gt;Quadro P2000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which are close to the top of available equipment.&lt;/P&gt;&lt;P&gt;The biggest problems arise with commands like trim or selection commands (because I sometimes select too many objects --- my drawings sometimes have more than 200 000 objects).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion to visit the customization forum. I will sure do that.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 10:43:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206556#M120450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-17T10:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206564#M120451</link>
      <description>&lt;P&gt;jbtworld it doesn't really matter what commands are used because this isn't a topic about that, it's a topic to end any command after a certain time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read all the "advices" for trim, etc... "zoom in", "turn off object snap" etc etc... They are not the help I want at this time.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 10:46:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206564#M120451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-17T10:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206577#M120452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;&amp;gt;&amp;gt; I would probably set the time to 10 seconds&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Would cause my system to never save files ... I can't agree to that wish.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your workstation/AutoCAD/drawing is slower than you expect we can go into details what happens when and try to find the source of the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 10:52:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206577#M120452</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2019-12-17T10:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206581#M120453</link>
      <description>&lt;P&gt;Yeah... I know the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes I forget that I should change my usual workflow and use BREAK rather than TRIM and if TRIM then pick a certain boundary rather than to all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually, it's not an infinite loop. It just takes a ridiculous mount of time to finish the job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ADSK should take care of it. Can't imagine a 'script' that could do that.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 11:11:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206581#M120453</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-12-17T11:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206662#M120454</link>
      <description>&lt;P&gt;In that case you should really talk to your reseller or Autodesk support to see why this happens and how to avoid it, as a program to cancel commands like this would not be possible to create.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 11:35:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206662#M120454</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2019-12-17T11:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206830#M120455</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;The biggest problems arise with commands like trim or selection commands (because I sometimes select too many objects --- my drawings sometimes have more than 200 000 objects).&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no other solution than try to change the workflow. If you record your doing eg. by&amp;nbsp;&lt;A href="https://knowledge.autodesk.com/community/screencast" target="_blank" rel="noopener"&gt;SCREENCAST&lt;/A&gt;&amp;nbsp;we could try to suggest something. Some workarounds..&lt;/P&gt;
&lt;P&gt;But ADSK is the only one who can fix this. Make possible reasonable work with a large number of entities.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 12:54:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9206830#M120455</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-12-17T12:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207066#M120456</link>
      <description>&lt;P&gt;But I am suggesting a userdefined time. For instance, you can type "MENUBAR" and set a value of the function. Equivalently, you can do also this. Default is 0 which means: not applicable, and user can set any time he/she wants. I just said that for me it would be 10 seconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the reason is just the size of the files. Some of them are around 100 MB with 200.000 polylines/3dpolylines/...&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 14:15:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207066#M120456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-17T14:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207080#M120457</link>
      <description>&lt;P&gt;jbtworld why wouldn't it be possible to create?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In any programming language you can solve this problem with three lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"if iteration_number&amp;gt;1000&lt;/P&gt;&lt;P&gt;stop_command&lt;/P&gt;&lt;P&gt;end"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1000 as an example)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And that is very very simple. I bet you can also set that to use a time variable.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 14:21:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207080#M120457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-17T14:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207082#M120458</link>
      <description>&lt;P&gt;You need to suggest this to Autodesk &lt;A href="https://www.autodesk.com/company/contact-us/product-feedback" target="_blank" rel="noopener"&gt;one way&lt;/A&gt; or another, this is a user forum for peer support.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 14:19:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207082#M120458</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2019-12-17T14:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207093#M120459</link>
      <description>&lt;P&gt;Autodesk can fix it but a 3rd party developer can't fix this. Autodesk is not reading this or at least you can't count on that they do.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 14:21:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207093#M120459</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2019-12-17T14:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207562#M120460</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;&amp;gt;&amp;gt; For instance, you can type "MENUBAR" and set a value of the function&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Ever thought about supporting such a system, knowing that not only professionals are sitting in front of the system?&lt;/P&gt;
&lt;P&gt;Some user turns that to 0.01sec ... and he will not be able to use that variable any more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#333399"&gt;&amp;gt;&amp;gt; In any programming language you can solve this problem with three lines&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#333399"&gt;&amp;gt;&amp;gt; "if iteration_number&amp;gt;1000&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#333399"&gt;&amp;gt;&amp;gt; stop_command&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#333399"&gt;&amp;gt;&amp;gt; end"&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;...and half of your points are now imported to your Civil 3D surface, but the surface is not rebuild yet ... that's not a valid point to stop anything. And it does not make sense to stop it because you need all points to be used inside the surface...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's like break the service of your car at 30min ... even if the old engine oil is out, but not a new one filled in. Does not make sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And as you might already have seen in AutoCAD or your Civil 3D, even an undo needs more time than the command execution itself to bring back what you had before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 17:01:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207562#M120460</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2019-12-17T17:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: End an infinite loop (end a command) after certain time</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207600#M120461</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;But I am suggesting .&lt;SPAN style="font-family: inherit;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is not the place.&amp;nbsp; Go to the &lt;A href="https://www.autodesk.com/company/contact-us/product-feedback" target="_blank" rel="noopener"&gt;&amp;gt;Product Feedback page&amp;lt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 17:14:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/end-an-infinite-loop-end-a-command-after-certain-time/m-p/9207600#M120461</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-12-17T17:14:55Z</dc:date>
    </item>
  </channel>
</rss>

