<?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: Can LISP Skip a Line of Code, Then Come Back To It? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7448860#M113522</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;A id="link_6ddd0b63a41be9" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365" target="_self"&gt;BeekeeCZ&lt;/A&gt;&amp;nbsp;makes&lt;/SPAN&gt;&amp;nbsp;an excellent suggestion.&lt;/P&gt;
&lt;P&gt;But I think AutoCAD still has a&amp;nbsp;&lt;STRONG&gt;256&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;characters maximum command input length so you'll have to test to make sure the string of layer names are shorter than 256.&amp;nbsp; Once the length is longer, then you'll have to start a&amp;nbsp;new string.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="http://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3aareaobjectlink_windows32and64%3aen" target="_blank"&gt;Area Object Link&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addattmod_windows32and64%3aen" target="_blank"&gt;Attribute Modifier&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="http://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addsetup_windows32and64%3aen" target="_blank"&gt;Dwg Setup&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addcalc_windows32and64%3aen" target="_blank"&gt;Feet-Inch Calculator &lt;/A&gt;&lt;SPAN style="font-family: Arial,sans-serif; text-shadow: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt; &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3alayerapps_windows32and64%3aen" target="_blank"&gt;Layer Apps&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addlist_windows32and64%3aen" target="_blank"&gt;List on Steroids&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addzmscl_windows32and64%3aen" target="_blank"&gt;VP Zoom Scales&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Home/Index" target="_blank"&gt;Exchange App Store&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 18:31:34 GMT</pubDate>
    <dc:creator>paullimapa</dc:creator>
    <dc:date>2017-10-10T18:31:34Z</dc:date>
    <item>
      <title>Can LISP Skip a Line of Code, Then Come Back To It?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7448083#M113519</link>
      <description>&lt;P&gt;I wrote a LISP program that creates Mtext based on multiple inputs from the user.&amp;nbsp; For some reason this program is a bit slow, so I added a prompt - right after the line that asks the user to pick a point to place the Mtext - that says, "Creating Mtext....&amp;nbsp; Please wait...."&amp;nbsp; The odd thing is, the program actually creates the Mtext right away, then there is a long pause, THEN the prompt appears, which of course by now is pointless.&amp;nbsp; How is this possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is the LISP program, Calculate Inverts.lsp, with the prompt in question near the end of the Input section. We're still using Land Desktop 2005, not Civil 3D, in case you're wondering why I wrote this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 14:07:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7448083#M113519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-10T14:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can LISP Skip a Line of Code, Then Come Back To It?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7448322#M113520</link>
      <description>&lt;P&gt;Sorry, the question in the title is poorly worded.&amp;nbsp; It must be the PC or AutoCAD that processes data going to the graphics screen separately from data going to the command prompt.&amp;nbsp; The graphics screen must get priority. The result just looks odd.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 15:14:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7448322#M113520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-10T15:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can LISP Skip a Line of Code, Then Come Back To It?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7448527#M113521</link>
      <description>&lt;P&gt;Just one tip...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(foreach n llist-f (command "-layer" "f" n ""))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is very slow. Not sure how long list of layers you have, but you use this expression many times.&lt;BR /&gt;Build a long string of layers delimited by ",", then use the command just for one time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command "-layer" "f" "Layer1,Layer2,Layer3" "")&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 16:31:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7448527#M113521</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-10-10T16:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can LISP Skip a Line of Code, Then Come Back To It?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7448860#M113522</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;A id="link_6ddd0b63a41be9" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365" target="_self"&gt;BeekeeCZ&lt;/A&gt;&amp;nbsp;makes&lt;/SPAN&gt;&amp;nbsp;an excellent suggestion.&lt;/P&gt;
&lt;P&gt;But I think AutoCAD still has a&amp;nbsp;&lt;STRONG&gt;256&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;characters maximum command input length so you'll have to test to make sure the string of layer names are shorter than 256.&amp;nbsp; Once the length is longer, then you'll have to start a&amp;nbsp;new string.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="http://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3aareaobjectlink_windows32and64%3aen" target="_blank"&gt;Area Object Link&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addattmod_windows32and64%3aen" target="_blank"&gt;Attribute Modifier&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="http://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addsetup_windows32and64%3aen" target="_blank"&gt;Dwg Setup&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addcalc_windows32and64%3aen" target="_blank"&gt;Feet-Inch Calculator &lt;/A&gt;&lt;SPAN style="font-family: Arial,sans-serif; text-shadow: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt; &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3alayerapps_windows32and64%3aen" target="_blank"&gt;Layer Apps&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addlist_windows32and64%3aen" target="_blank"&gt;List on Steroids&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3addzmscl_windows32and64%3aen" target="_blank"&gt;VP Zoom Scales&lt;/A&gt; | &lt;A style="color: blue; text-decoration: underline; text-underline: single;" href="https://apps.exchange.autodesk.com/ACD/en/Home/Index" target="_blank"&gt;Exchange App Store&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 18:31:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7448860#M113522</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2017-10-10T18:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can LISP Skip a Line of Code, Then Come Back To It?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7449001#M113523</link>
      <description>&lt;P&gt;Thanks for the tip!&amp;nbsp; There are 875 layers in this dwg, so the layer command must be what's slowing down the program.&amp;nbsp; I may just remove this line and warn the user in the notes to thaw and turn on the required layers.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 19:19:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-lisp-skip-a-line-of-code-then-come-back-to-it/m-p/7449001#M113523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-10T19:19:44Z</dc:date>
    </item>
  </channel>
</rss>

