<?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: WritetoCommandLine? asynchronous  or synchronous? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/writetocommandline-asynchronous-or-synchronous/m-p/5537285#M41024</link>
    <description>&lt;P&gt;It calls SendStringToExecute(). The &lt;STRONG&gt;Internal&lt;/STRONG&gt; namespace is not part of the public API and is not intended to be used by 3rd party developers. These classes aren't supported or documented and may change without warning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being said, here is an old&amp;nbsp;post from Kean where he used a function&amp;nbsp;(Utils.AddCommand)&amp;nbsp;from the Internal namespace out of necessity:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2009/03/using-ironpython-with-autocad.html" target="_blank"&gt;http://through-the-interface.typepad.com/through_the_interface/2009/03/using-ironpython-with-autocad.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if you're up for reading assembly language, and if the .NET dll is not obfuscated, then you might be able to figure out some of its logic by disassembling it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ildasm acmgd.dll /out:acmgd.asm"&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;</description>
    <pubDate>Wed, 11 Mar 2015 21:12:42 GMT</pubDate>
    <dc:creator>autodaug</dc:creator>
    <dc:date>2015-03-11T21:12:42Z</dc:date>
    <item>
      <title>WritetoCommandLine? asynchronous  or synchronous?</title>
      <link>https://forums.autodesk.com/t5/net-forum/writetocommandline-asynchronous-or-synchronous/m-p/5537135#M41023</link>
      <description>&lt;P&gt;does the function Autodesk.AutoCAD.Internal.Utils.WriteToCommandLine(..) work asynchronous like SendToExecute(..) or synchronous like Doc.SendCommand(..)?&lt;/P&gt;&lt;P&gt;Anyplace I can find more info on this class?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-GP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 19:29:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/writetocommandline-asynchronous-or-synchronous/m-p/5537135#M41023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-11T19:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: WritetoCommandLine? asynchronous  or synchronous?</title>
      <link>https://forums.autodesk.com/t5/net-forum/writetocommandline-asynchronous-or-synchronous/m-p/5537285#M41024</link>
      <description>&lt;P&gt;It calls SendStringToExecute(). The &lt;STRONG&gt;Internal&lt;/STRONG&gt; namespace is not part of the public API and is not intended to be used by 3rd party developers. These classes aren't supported or documented and may change without warning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being said, here is an old&amp;nbsp;post from Kean where he used a function&amp;nbsp;(Utils.AddCommand)&amp;nbsp;from the Internal namespace out of necessity:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2009/03/using-ironpython-with-autocad.html" target="_blank"&gt;http://through-the-interface.typepad.com/through_the_interface/2009/03/using-ironpython-with-autocad.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if you're up for reading assembly language, and if the .NET dll is not obfuscated, then you might be able to figure out some of its logic by disassembling it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ildasm acmgd.dll /out:acmgd.asm"&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;</description>
      <pubDate>Wed, 11 Mar 2015 21:12:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/writetocommandline-asynchronous-or-synchronous/m-p/5537285#M41024</guid>
      <dc:creator>autodaug</dc:creator>
      <dc:date>2015-03-11T21:12:42Z</dc:date>
    </item>
    <item>
      <title>Re : WritetoCommandLine? asynchronous  or synchronous?</title>
      <link>https://forums.autodesk.com/t5/net-forum/writetocommandline-asynchronous-or-synchronous/m-p/5537677#M41025</link>
      <description>&lt;P&gt;Don't know why you want to use this instead of Editor.WriteMessage, but the latter is asynchronous. To force the update of the screen, you have to put a newline character at the end of the message and call DoEvents just after the call to WriteMessage :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ed.WriteMessage("Your message\n");
System.Windows.Forms.Application.DoEvents();&lt;/PRE&gt;&lt;P&gt;And if you want to see what's in there, you can use Telerik JustDecompiler (it's free):&amp;nbsp;&lt;A href="http://www.telerik.com/products/decompiler.aspx" target="_self"&gt;http://www.telerik.com/products/decompiler.aspx&lt;/A&gt;. There is also DotPeek from JetBrains:&amp;nbsp;&lt;A href="https://www.jetbrains.com/decompiler/" target="_self"&gt;https://www.jetbrains.com/decompiler/&lt;/A&gt;. For me&amp;nbsp;&lt;SPAN&gt;JustDecompiler is faster and more reliable.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 07:47:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/writetocommandline-asynchronous-or-synchronous/m-p/5537677#M41025</guid>
      <dc:creator>FRFR1426</dc:creator>
      <dc:date>2015-03-12T07:47:50Z</dc:date>
    </item>
  </channel>
</rss>

