<?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: Command Line – How to Paste String in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986105#M129889</link>
    <description>&lt;P&gt;Thanks for the prompt reply.&amp;nbsp; Could you provide the actual test that would be pasted in the AutoCAD command line?&lt;/P&gt;</description>
    <pubDate>Sun, 25 Aug 2019 13:33:52 GMT</pubDate>
    <dc:creator>orders3</dc:creator>
    <dc:date>2019-08-25T13:33:52Z</dc:date>
    <item>
      <title>Command Line – How to Paste String</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8985776#M129887</link>
      <description>&lt;P&gt;Need assistance with pasting a string in the Command Line.&lt;/P&gt;&lt;P&gt;I am attempting to select a text style “style4” and then present a text message at a specific location on the display&lt;/P&gt;&lt;P&gt;I am using Excel to generate the following command lines for AutoCAD 2017.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textstyle style4 text 30,30 12 This is a test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The text style is selected correctly - “style4”&lt;/LI&gt;&lt;LI&gt;The cursor is positioned correctly - “30,30”&lt;/LI&gt;&lt;LI&gt;The angle of the cursor is displayed correctly - “12” degrees&lt;/LI&gt;&lt;LI&gt;But the text is not displayed. I can then manually enter text, but I want to display the text from the command line string.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What I do not understand is the control characters between the AutoCAD commands.&lt;/P&gt;&lt;P&gt;I am a novice with AutoCAD, so please explain in layman terms.&amp;nbsp; Perhaps with the appropriate string for above.&amp;nbsp; Any assistance greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 04:49:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8985776#M129887</guid>
      <dc:creator>orders3</dc:creator>
      <dc:date>2019-08-25T04:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line – How to Paste String</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8985792#M129888</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7879053"&gt;@orders3&lt;/a&gt;&amp;nbsp; hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;I am using Excel to generate the following command lines for AutoCAD 2017.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textstyle style4 text 30,30 12 This is a test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;i do not think you can do this with excel?! macros or lisps is the 2 way to go (of course there are others)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;macro:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;^C^CTEXT S style4 30,30 12&amp;nbsp; 0 "Your text";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;lisp:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;(command "TEXT" "S" "style4' "30,30," 12 0 "Your text" "")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;enjoy&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;moshe&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 05:07:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8985792#M129888</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2019-08-25T05:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line – How to Paste String</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986105#M129889</link>
      <description>&lt;P&gt;Thanks for the prompt reply.&amp;nbsp; Could you provide the actual test that would be pasted in the AutoCAD command line?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 13:33:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986105#M129889</guid>
      <dc:creator>orders3</dc:creator>
      <dc:date>2019-08-25T13:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line – How to Paste String</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986106#M129890</link>
      <description>&lt;P&gt;Typo - "Text"&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 13:34:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986106#M129890</guid>
      <dc:creator>orders3</dc:creator>
      <dc:date>2019-08-25T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line – How to Paste String</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986220#M129891</link>
      <description>&lt;P&gt;copy &amp;amp; paste the lisp line into the command line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 16:03:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986220#M129891</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2019-08-25T16:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line – How to Paste String</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986256#M129892</link>
      <description>&lt;P&gt;Certainly appreciate your patience.&amp;nbsp; Here is the results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pasted following:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TEXT" "S" "style4' "30,30," 12 0 "Your text" ""&lt;BR /&gt;Results:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Command: "TEXT" Unknown command ""TEXT"". Press F1 for help.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Command: "S" Unknown command ""S"". Press F1 for help.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Command: "style4' "30,30," 12 0 "Your Unknown command ""STYLE4' "30,30," 12 0 "YOUR". Press F1 for help.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Command: text" Unknown command "TEXT"". Press F1 for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pasted following:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (command "TEXT" "S" "style4' "30,30," 12 0 "Your text" "")&lt;BR /&gt;Results:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Command: (command "TEXT" "S" "style4' "30,30," 12 0 "Your text" "")&lt;BR /&gt;And in the command line:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ("_&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently, with my original string that I pasted, everything works, except AutoCAD is waiting for me to enter text via the keyboard instead on accepting the string.&amp;nbsp; What do I need to tell AutoCAD to accept the text?&lt;/P&gt;&lt;P&gt;Really appreciate your assistance....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 16:43:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986256#M129892</guid>
      <dc:creator>orders3</dc:creator>
      <dc:date>2019-08-25T16:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line – How to Paste String</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986616#M129893</link>
      <description>&lt;P&gt;That should be a quote " not an apostrophe ' after style4 as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;(command "TEXT" "S" "style4" "30,30," 12 0 "Your text" "")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 463px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/670635iFAD848D3351BF48B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 01:31:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986616#M129893</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2019-08-26T01:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line – How to Paste String</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986643#M129894</link>
      <description>&lt;P&gt;Thanks for the correction lee.&amp;nbsp; But I still have a problem.&amp;nbsp; Don't know what I am doing wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pasted to Command Line....&lt;/P&gt;&lt;P&gt;(command "TEXT" "S" "style4" "30,30," 12 0 "Your text" "")&lt;/P&gt;&lt;P&gt;AutoCAD Response:&lt;/P&gt;&lt;P&gt;Command: (command "TEXT" "S" "style4" "30,30," 12 0 "Your text" "")&lt;BR /&gt;TEXT&lt;BR /&gt;Current text style: "style4" Text height: 4.0000 Annotative: No Justify: Left&lt;BR /&gt;Specify start point of text or [Justify/Style]: S&lt;BR /&gt;Enter style name or [?] : style4&lt;BR /&gt;Current text style: "style4" Text height: 4.0000 Annotative: No Justify: Left&lt;BR /&gt;Specify start point of text or [Justify/Style]: 30,30,&lt;BR /&gt;Point or option keyword required.&lt;BR /&gt;; error: Function cancelled&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 02:06:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986643#M129894</guid>
      <dc:creator>orders3</dc:creator>
      <dc:date>2019-08-26T02:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line – How to Paste String</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986662#M129895</link>
      <description>&lt;P&gt;Thanks Lee&amp;nbsp; for all the assistance.&amp;nbsp; I finally got this to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(command "TEXT" "S" "style4" "30,30" 12 "Your text").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears to be simple and I am embarrassed that I could not figure it out myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good day....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 02:35:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/command-line-how-to-paste-string/m-p/8986662#M129895</guid>
      <dc:creator>orders3</dc:creator>
      <dc:date>2019-08-26T02:35:29Z</dc:date>
    </item>
  </channel>
</rss>

