<?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: in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872103#M158980</link>
    <description>A few questions about plotting using lisp:&lt;BR /&gt;
    1.  When I plot out of lisp, when the plot is complete, the lisp program terminates and ignores any further commands.  How do I prevent this from happening?&lt;BR /&gt;
    2.  When I plot in lisp, how do I set the orientation and zoom to extents for each drawing.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks again for any help.</description>
    <pubDate>Mon, 03 Apr 2000 19:17:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2000-04-03T19:17:35Z</dc:date>
    <item>
      <title>DOS and lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872099#M158976</link>
      <description>I have written a lisp program that, depending on user input runs various batch plots for .bat DOS files(using the extended batch plot utility).  The problem is that the lisp program doesn't wait for the first batch plot to end and it tries to immeadiately run the next one (not a good thing).  I put a loop delay in between each batch plot instance, which works, but due to the number of differnet speed computers I program for, you can imagine what a hassle this solution can be. In summary: is there a way I can have the lisp program wait for the DOS .bat file to finish before starting a new one.  Thanks for any input.</description>
      <pubDate>Mon, 03 Apr 2000 18:24:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872099#M158976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-04-03T18:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: DOS and lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872100#M158977</link>
      <description>I have written a lisp program that, depending on user input runs various batch plots for .bat DOS files(using the extended batch plot utility).  The problem is that the lisp program doesn't wait for the first batch plot to end and it tries to immeadiately run the next one (not a good thing).  I put a loop delay in between each batch plot instance, which works, but due to the number of differnet speed computers I program for, you can imagine what a hassle this solution can be. In summary: is there a way I can have the lisp program wait for the DOS .bat file to finish before starting a new one.  Thanks for any input.</description>
      <pubDate>Mon, 03 Apr 2000 18:24:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872100#M158977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-04-03T18:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: DOS and lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872101#M158978</link>
      <description>Why not have the LISP routine perform the plotting?  That is what I have&lt;BR /&gt;
done, this has gotten my plotting/printing routines completely away from&lt;BR /&gt;
using script or batch files.  I use the command -PLOT to use the plot&lt;BR /&gt;
command via the command line.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Kevin Nehls&lt;BR /&gt;
remove -ns- for direct reply&lt;BR /&gt;
Kirk_P wrote in message ...&lt;BR /&gt;
&amp;gt;      I have written a lisp program that, depending on user input runs&lt;BR /&gt;
various batch plots for .bat DOS files(using the extended batch plot&lt;BR /&gt;
utility).  The problem is that the lisp program doesn't wait for the first&lt;BR /&gt;
batch plot to end and it tries to immeadiately run the next one (not a good&lt;BR /&gt;
thing).  I put a loop delay in between each batch plot instance, which&lt;BR /&gt;
works, but due to the number of differnet speed computers I program for, you&lt;BR /&gt;
can imagine what a hassle this solution can be. In summary: is there a way I&lt;BR /&gt;
can have the lisp program wait for the DOS .bat file to finish before&lt;BR /&gt;
starting a new one.  Thanks for any input.</description>
      <pubDate>Mon, 03 Apr 2000 18:48:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872101#M158978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-04-03T18:48:44Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872102#M158979</link>
      <description>A few questions about plotting using lisp:&lt;BR /&gt;
    1.  When I plot out of lisp, when the plot is complete, the lisp program terminates and ignores any further commands.  How do I prevent this from happening?&lt;BR /&gt;
    2.  When I plot in lisp, how do I set the orientation and zoom to extents for each drawing.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks again for any help.</description>
      <pubDate>Mon, 03 Apr 2000 19:17:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872102#M158979</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-04-03T19:17:35Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872103#M158980</link>
      <description>A few questions about plotting using lisp:&lt;BR /&gt;
    1.  When I plot out of lisp, when the plot is complete, the lisp program terminates and ignores any further commands.  How do I prevent this from happening?&lt;BR /&gt;
    2.  When I plot in lisp, how do I set the orientation and zoom to extents for each drawing.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks again for any help.</description>
      <pubDate>Mon, 03 Apr 2000 19:17:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872103#M158980</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-04-03T19:17:35Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872104#M158981</link>
      <description>What version of ACAD are you using?  If 2000 are you running in MDI or SDI?&lt;BR /&gt;
What are you trying to do right after the plotting, are you trying to open&lt;BR /&gt;
another drawing and the LISP routine dies after that?&lt;BR /&gt;
&lt;BR /&gt;
I am running my custom batch plotting stuff in SDI with LISPINIT set to 0 on&lt;BR /&gt;
ACAD 2000 and have no problems with running pure LISP (no batch routines no&lt;BR /&gt;
scripts....).  I have my routine constantly "watching" a set of directories.&lt;BR /&gt;
When it finds a drawing it opens it then depending on which directory it is&lt;BR /&gt;
opened from I insert a logo and print the drawing.  I also have the routine&lt;BR /&gt;
doing a lot of other stuff, like looking at our standard border sizes and&lt;BR /&gt;
deciding upon that stuff as to what size of paper to print the drawing on.&lt;BR /&gt;
&lt;BR /&gt;
To set the orientation in my drawings I have used the EXTMIN and EXTMAX&lt;BR /&gt;
variables to see if the drawing is "taller" than "long" or "longer" than&lt;BR /&gt;
"tall".  Then I set a variable to either "Landscape" or "Portrait" (I am&lt;BR /&gt;
running 2000) and use that variable at the point where you would normally be&lt;BR /&gt;
prompted for the orientation during the plot command.&lt;BR /&gt;
&lt;BR /&gt;
For zooming extents, I simply do this before running the plotting stuff:&lt;BR /&gt;
&lt;BR /&gt;
(command "zoom" "e")&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Kevin Nehls&lt;BR /&gt;
remove -ns- for direct reply&lt;BR /&gt;
Kirk_P wrote in message ...&lt;BR /&gt;
&amp;gt;A few questions about plotting using lisp:&lt;BR /&gt;
&amp;gt;    1.  When I plot out of lisp, when the plot is complete, the lisp&lt;BR /&gt;
program terminates and ignores any further commands.  How do I prevent this&lt;BR /&gt;
from happening?&lt;BR /&gt;
&amp;gt;    2.  When I plot in lisp, how do I set the orientation and zoom to&lt;BR /&gt;
extents for each drawing.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Thanks again for any help.</description>
      <pubDate>Mon, 03 Apr 2000 20:01:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872104#M158981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-04-03T20:01:03Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872105#M158982</link>
      <description>For the record, I am running AutoCAD 14.01.&lt;BR /&gt;
&lt;BR /&gt;
I messed around with the LISPINIT value and it didn't seem to make a differnce.  When I run the following set of commands, the program stops cold as soon as I load the drawing, whether LISPINIT is set to 0 or 1.&lt;BR /&gt;
&lt;BR /&gt;
	(command "open" "c:\\runtime\\current\\1A.dwg")&lt;BR /&gt;
	(command "zoom" "e")&lt;BR /&gt;
&lt;BR /&gt;
  This was why I originally changed over to batch plotting.  If there is a way to correct this, believe me, I'll never use the batch plot utility again.</description>
      <pubDate>Tue, 04 Apr 2000 14:05:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872105#M158982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-04-04T14:05:14Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872106#M158983</link>
      <description>For the record, I am running AutoCAD 14.01.&lt;BR /&gt;
&lt;BR /&gt;
I messed around with the LISPINIT value and it didn't seem to make a differnce.  When I run the following set of commands, the program stops cold as soon as I load the drawing, whether LISPINIT is set to 0 or 1.&lt;BR /&gt;
&lt;BR /&gt;
	(command "open" "c:\\runtime\\current\\1A.dwg")&lt;BR /&gt;
	(command "zoom" "e")&lt;BR /&gt;
&lt;BR /&gt;
  This was why I originally changed over to batch plotting.  If there is a way to correct this, believe me, I'll never use the batch plot utility again.</description>
      <pubDate>Tue, 04 Apr 2000 14:05:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872106#M158983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-04-04T14:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: DOS and lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872107#M158984</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
Check DOS_COMMAND in DOS_lib from MCneels</description>
      <pubDate>Wed, 12 Apr 2000 12:23:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/dos-and-lisp/m-p/872107#M158984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-04-12T12:23:37Z</dc:date>
    </item>
  </channel>
</rss>

