<?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: passing a quote string into a string variable in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994261#M135228</link>
    <description>&lt;P&gt;Yes, the (princ D) (princ)&amp;nbsp;&amp;nbsp;does evaluate and sends the proper string to the command line.&lt;/P&gt;&lt;P&gt;However,&amp;nbsp;&amp;nbsp; I'm trying to use !D in the script I'm running.&amp;nbsp;&amp;nbsp;&amp;nbsp;I have used this mechanism !papersize on other strings into scripts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-plot&lt;BR /&gt;yes&lt;BR /&gt;Model&lt;BR /&gt;Laser1.pc3&lt;BR /&gt;!D&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;problem.&amp;nbsp;&amp;nbsp; Note that !C works.&lt;BR /&gt;Inches&lt;BR /&gt;Landscape&lt;BR /&gt;YES&lt;BR /&gt;Limits&lt;BR /&gt;!C&lt;BR /&gt;CENTER&lt;BR /&gt;Yes&lt;BR /&gt;01B-W.ctb&lt;BR /&gt;Yes&lt;BR /&gt;No&lt;BR /&gt;No&lt;BR /&gt;No&lt;BR /&gt;Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setq D "\"11\" x 17\"\"")&amp;nbsp;suggested by another doesn't work either.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2016 17:56:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-18T17:56:10Z</dc:date>
    <item>
      <title>passing a quote string into a string variable</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994174#M135225</link>
      <description>&lt;P&gt;I'm trying to get a string&amp;nbsp; 11" x 17" into a string variable.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I use (setq D "11" x 17"") or (setq D "11\" x 17\"")&amp;nbsp; doesn't work.&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm trying to set D so that I can do a !D in a script.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 17:05:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994174#M135225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-18T17:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: passing a quote string into a string variable</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994191#M135226</link>
      <description>&lt;P&gt;I think you are doing it correctly. &amp;nbsp;How do you need to use D later?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command: (Setq D "11\"x17\"")&lt;BR /&gt;"11\"x17\""&lt;/P&gt;&lt;P&gt;Command: (command "-mtext" pause "w" 0 d "")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;Maybe you need to use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(princ D)(princ)&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 17:17:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994191#M135226</guid>
      <dc:creator>Shneuph</dc:creator>
      <dc:date>2016-01-18T17:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: passing a quote string into a string variable</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994241#M135227</link>
      <description>&lt;P&gt;maybe try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(setq D "\"11\" x 17\"\"")&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;A 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 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 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 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 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 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 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 href="https://apps.exchange.autodesk.com/ACD/en/Home/Index" target="_blank"&gt;Exchange App Store&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 17:46:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994241#M135227</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2016-01-18T17:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: passing a quote string into a string variable</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994261#M135228</link>
      <description>&lt;P&gt;Yes, the (princ D) (princ)&amp;nbsp;&amp;nbsp;does evaluate and sends the proper string to the command line.&lt;/P&gt;&lt;P&gt;However,&amp;nbsp;&amp;nbsp; I'm trying to use !D in the script I'm running.&amp;nbsp;&amp;nbsp;&amp;nbsp;I have used this mechanism !papersize on other strings into scripts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-plot&lt;BR /&gt;yes&lt;BR /&gt;Model&lt;BR /&gt;Laser1.pc3&lt;BR /&gt;!D&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;problem.&amp;nbsp;&amp;nbsp; Note that !C works.&lt;BR /&gt;Inches&lt;BR /&gt;Landscape&lt;BR /&gt;YES&lt;BR /&gt;Limits&lt;BR /&gt;!C&lt;BR /&gt;CENTER&lt;BR /&gt;Yes&lt;BR /&gt;01B-W.ctb&lt;BR /&gt;Yes&lt;BR /&gt;No&lt;BR /&gt;No&lt;BR /&gt;No&lt;BR /&gt;Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setq D "\"11\" x 17\"\"")&amp;nbsp;suggested by another doesn't work either.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 17:56:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994261#M135228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-18T17:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: passing a quote string into a string variable</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994276#M135229</link>
      <description>&lt;P&gt;You may want to double check by looking in the Plot window for Plot device &lt;SPAN&gt;Laser1.pc3 under Paper Size drop down list to see if the size is actually listed as 11" x 17" or maybe 11"x17" without the spaces or maybe even 11"x17" inches or even 11x17. &amp;nbsp;AutoCAD is very particular when it comes to getting the exact matching paper size name for the specified plot&amp;nbsp;device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;A 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 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 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 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 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 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 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 href="https://apps.exchange.autodesk.com/ACD/en/Home/Index" target="_blank"&gt;Exchange App Store&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 18:06:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994276#M135229</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2016-01-18T18:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: passing a quote string into a string variable</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994304#M135230</link>
      <description>&lt;P&gt;Yes.. I set my model space page size to letter 8.5x11 then pasted this in the command line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-PLOT&lt;BR /&gt;y&lt;FONT color="#FF0000"&gt; &amp;nbsp;(detailed config)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;!D&lt;FONT color="#FF0000"&gt; &amp;nbsp;= "11\" x 17\""&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;y &lt;FONT color="#FF0000"&gt;&amp;nbsp;(save plot config)&lt;/FONT&gt;&lt;BR /&gt;n &lt;FONT color="#FF0000"&gt;(proceed w/ plot)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;It changed the page size from letter to 11x17. &amp;nbsp;If the name of your page size is indeed exactly 11" x 17" it should work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 18:23:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994304#M135230</guid>
      <dc:creator>Shneuph</dc:creator>
      <dc:date>2016-01-18T18:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: passing a quote string into a string variable</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994459#M135231</link>
      <description>&lt;P&gt;&lt;FONT color="#ff0000"&gt;"11\" x 17\""&lt;/FONT&gt;&amp;nbsp;&amp;nbsp; got it.&amp;nbsp;&amp;nbsp; The echo to the screen when the script ran kinda thru me off.&amp;nbsp;&amp;nbsp; Most observant when you suggested the format of the papersize.&amp;nbsp;&amp;nbsp; We have four different brands of printers and 3 of the 4 have different B size sheet names.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate both suggestion and comments.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 20:29:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/passing-a-quote-string-into-a-string-variable/m-p/5994459#M135231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-18T20:29:35Z</dc:date>
    </item>
  </channel>
</rss>

