<?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: Supress command line echo in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3129886#M59707</link>
    <description>&lt;P&gt;You should probably check out the NET Developer's Guide:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://docs.autodesk.com/ACD/2011/ENU/filesMDG/WS1a9193826455f5ff2566ffd511ff6f8c7ca-4875.htm"&gt;NET Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if you have a background using VB or C# for developing AutoCAD?&lt;/P&gt;&lt;P&gt;NET code for AutoCAD gets compiled into dll modules and then loaded and run within AutoCAD.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2011 15:15:09 GMT</pubDate>
    <dc:creator>cadMeUp</dc:creator>
    <dc:date>2011-08-19T15:15:09Z</dc:date>
    <item>
      <title>Supress command line echo</title>
      <link>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124640#M59701</link>
      <description>&lt;P&gt;In VB.net when I send a command to the command line, how can supress the command line echo?&lt;/P&gt;&lt;P&gt;Is there better ways of sending commands to acad?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;acaddoc.SendCommand(&lt;/P&gt;&lt;P&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"-STYLE"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; vbCr &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"SCHNormal"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; vbCr &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"romans.shx"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; vbCr &amp;amp; SCHNormalH + 2 &amp;amp; vbCr &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;".8"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; vbCr &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"0"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; vbCr &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"No"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; vbCr &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"No"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; vbCr &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"No"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; vbCr)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 18:41:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124640#M59701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-15T18:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Supress command line echo</title>
      <link>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124778#M59702</link>
      <description>&lt;P&gt;Check out the attached code file, gives a basic&amp;nbsp;example of adding/setting the current text style and also how to set an application variable like 'CMDECHO'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's best to avoid using SendCommand if possible and use other methods.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 20:30:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124778#M59702</guid>
      <dc:creator>cadMeUp</dc:creator>
      <dc:date>2011-08-15T20:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Supress command line echo</title>
      <link>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124794#M59703</link>
      <description>&lt;P&gt;Thanks a lot for the answer but I am having trouble in vb expres 2010.&lt;/P&gt;&lt;P&gt;If I can't set those dims properly the sub won't work.&amp;nbsp; Is there an imports or something I am missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you draw a line or poly?&amp;nbsp; I also am having hard time finding samples that work or documentation on VB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree that the send command is very slow.&amp;nbsp; Would like to find a way to speed that up.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 20:44:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124794#M59703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-15T20:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Supress command line echo</title>
      <link>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124840#M59704</link>
      <description>&lt;P&gt;Add these statements to the top of your code file:&lt;/P&gt;&lt;P&gt;Imports Autodesk.AutoCAD.Runtime&lt;BR /&gt;Imports Autodesk.AutoCAD.DatabaseServices&lt;BR /&gt;Imports Autodesk.AutoCAD.Geometry&lt;BR /&gt;Imports Autodesk.AutoCAD.ApplicationServices&lt;BR /&gt;Imports Autodesk.AutoCAD.EditorInput&lt;BR /&gt;Imports Autodesk.AutoCAD.GraphicsSystem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully you'll be able to compile from there...&lt;/P&gt;&lt;P&gt;See the attached file from a couple of samples of drawing a line and polyline.&lt;/P&gt;&lt;P&gt;Also attached are the Dotnet samples from the 2010 ObjectARX SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checkout Autodesk's site:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://usa.autodesk.com/adsk/servlet/index?siteID=123112&amp;amp;id=1911627"&gt;AutoDESK-AutoCAD Programming&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 21:37:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124840#M59704</guid>
      <dc:creator>cadMeUp</dc:creator>
      <dc:date>2011-08-15T21:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Supress command line echo</title>
      <link>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124854#M59705</link>
      <description>&lt;P&gt;Thanks a lot for that .net sample&amp;nbsp; I think I found some problems.&amp;nbsp; Will have to look at this a little more.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 21:47:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3124854#M59705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-15T21:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Supress command line echo</title>
      <link>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3126266#M59706</link>
      <description>&lt;P&gt;I can not call any of these functions from within my module, and while debugging, it passes over them like they don't exist (not sure why).&amp;nbsp; I was hoping to pass some varables to them so I can use the function for more than drawing one line.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Private&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Function &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;SetStyle(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; StyleName &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; StyleFont &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; StyleSize &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Double&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; StyleWidth &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Double&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;) &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Boolean&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I think I am seeing this code has to be compiled in a dll then can be called with an external, I think which can sendcommand to netload then post an address.&amp;nbsp; The problem with all this is no parameters can be passed to the dll from what I under stand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data object that has over 10,000 fields in it which rely on the way a schedule is written.&amp;nbsp; I would like better and faster methods to write lines and text on the screen, but this dll thing is not going to work for my needs that I can see, unless someone can provide a differant solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 21:34:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3126266#M59706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T21:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Supress command line echo</title>
      <link>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3129886#M59707</link>
      <description>&lt;P&gt;You should probably check out the NET Developer's Guide:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://docs.autodesk.com/ACD/2011/ENU/filesMDG/WS1a9193826455f5ff2566ffd511ff6f8c7ca-4875.htm"&gt;NET Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if you have a background using VB or C# for developing AutoCAD?&lt;/P&gt;&lt;P&gt;NET code for AutoCAD gets compiled into dll modules and then loaded and run within AutoCAD.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2011 15:15:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3129886#M59707</guid>
      <dc:creator>cadMeUp</dc:creator>
      <dc:date>2011-08-19T15:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Supress command line echo</title>
      <link>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3130188#M59708</link>
      <description>&lt;P&gt;On the subject of suppressing command echoing - setting the CMDECHO and NOMUTT sysvars (and resetting them later) is another way to suppress commandline output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I agree that working through the Developers Guide andthe AutoCAD .NET training labs posted to &lt;A href="http://www.autodesk.com/developautocad" target="_blank"&gt;www.autodesk.com/developautocad&lt;/A&gt; will help you a lot if you're new to AutoCAD .NET programming.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2011 18:17:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/supress-command-line-echo/m-p/3130188#M59708</guid>
      <dc:creator>StephenPreston</dc:creator>
      <dc:date>2011-08-19T18:17:50Z</dc:date>
    </item>
  </channel>
</rss>

