<?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: sendStringToExecute Problem in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478266#M25017</link>
    <description>Owen,&lt;BR /&gt;
Thanks for your reply!&lt;BR /&gt;
I took out the trailing space and the command is not activated.&lt;BR /&gt;
Any other ideas?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Fri, 04 Nov 2005 17:18:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-11-04T17:18:01Z</dc:date>
    <item>
      <title>sendStringToExecute Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478264#M25015</link>
      <description>I'm using acDocManager-&amp;gt;sendStringToExecute(curDoc(), "ddedit "); to send the ddedit command when a dimension is double clicked.&lt;BR /&gt;
This works fine until the ddedit dialog box is closed.&lt;BR /&gt;
When the box is closed the ddedit command is still active with:&lt;BR /&gt;
"Select an annotation object or [Undo]:"&lt;BR /&gt;
How can I end the command after the dialog is closed without having to do this manually?&lt;BR /&gt;
FYI...I'm just beginning with .arx.</description>
      <pubDate>Fri, 04 Nov 2005 15:39:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478264#M25015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-04T15:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: sendStringToExecute Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478265#M25016</link>
      <description>&amp;gt; How can I end the command after the dialog is closed without&lt;BR /&gt;
&amp;gt; having to do this manually?&lt;BR /&gt;
&lt;BR /&gt;
  Try removing the trailing space from the string you send via &lt;BR /&gt;
sendStringToExecute(). &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
-- &lt;BR /&gt;
Owen Wengerd&lt;BR /&gt;
President, ManuSoft ==&amp;gt; http://www.manusoft.com&lt;BR /&gt;
VP Americas, CADLock, Inc. ==&amp;gt; http://www.cadlock.com</description>
      <pubDate>Fri, 04 Nov 2005 16:39:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478265#M25016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-04T16:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: sendStringToExecute Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478266#M25017</link>
      <description>Owen,&lt;BR /&gt;
Thanks for your reply!&lt;BR /&gt;
I took out the trailing space and the command is not activated.&lt;BR /&gt;
Any other ideas?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 04 Nov 2005 17:18:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478266#M25017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-04T17:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: sendStringToExecute Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478267#M25018</link>
      <description>&amp;gt; I took out the trailing space and the command is not activated.&lt;BR /&gt;
&lt;BR /&gt;
  What happens if you send nothing?  Does the ddedit command start then?  If &lt;BR /&gt;
not, then it would seem that something is repeating the command.  You could &lt;BR /&gt;
change double click editing settings in AutoCAD to see if that makes any &lt;BR /&gt;
difference. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
-- &lt;BR /&gt;
Owen Wengerd&lt;BR /&gt;
President, ManuSoft ==&amp;gt; http://www.manusoft.com&lt;BR /&gt;
VP Americas, CADLock, Inc. ==&amp;gt; http://www.cadlock.com</description>
      <pubDate>Fri, 04 Nov 2005 17:39:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478267#M25018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-04T17:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: sendStringToExecute Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478268#M25019</link>
      <description>I sent nothing and ddedit was not activated.&lt;BR /&gt;
I called ddedit and before "Select an annotation object or [Undo]:" displayed on the command line the edit text dialog popped up.  After that was closed, then the "Select an annotation object or [Undo]:" was displayed.  &lt;BR /&gt;
&lt;BR /&gt;
What I want it to do is if a dimension is double clicked activate ddedit, use item that was double clicked as the object to select, then when the dialog is closed I want to exit the command.&lt;BR /&gt;
&lt;BR /&gt;
Fyi... I started out with the ObjectARX DblClk example.</description>
      <pubDate>Fri, 04 Nov 2005 19:27:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478268#M25019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-04T19:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: sendStringToExecute Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478269#M25020</link>
      <description>&amp;gt; I called ddedit and before "Select an annotation object or [Undo]:"&lt;BR /&gt;
&amp;gt; displayed on the command line the edit text dialog popped up.  After&lt;BR /&gt;
&amp;gt; that was closed, then the "Select an annotation object or [Undo]:"&lt;BR /&gt;
&amp;gt; was displayed.&lt;BR /&gt;
&lt;BR /&gt;
  I just did a quick test in AutoCAD 2006, and it looks like DDEDIT &lt;BR /&gt;
continues to ask for entities until you tell it you're finished.  I'm not &lt;BR /&gt;
sure if you can prevent it from doing that, but you could just send an &lt;BR /&gt;
additional "\n" character in your sendStringToExecute() call to exit the &lt;BR /&gt;
command. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
-- &lt;BR /&gt;
Owen Wengerd&lt;BR /&gt;
President, ManuSoft ==&amp;gt; http://www.manusoft.com&lt;BR /&gt;
VP Americas, CADLock, Inc. ==&amp;gt; http://www.cadlock.com</description>
      <pubDate>Fri, 04 Nov 2005 21:06:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478269#M25020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-04T21:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: sendStringToExecute Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478270#M25021</link>
      <description>I'm running 2006 also.&lt;BR /&gt;
&lt;BR /&gt;
I added the \n and that makes the command exit without showing the dialog box.&lt;BR /&gt;
I tried using the \n in various locations but no luck.&lt;BR /&gt;
&lt;BR /&gt;
I'm not sure if I'm approaching the double click dimension solution in the correct way.  A little frustrated at this point though.&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much for your help!</description>
      <pubDate>Fri, 04 Nov 2005 21:28:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478270#M25021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-04T21:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: sendStringToExecute Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478271#M25022</link>
      <description>&amp;gt; I added the \n and that makes the command exit without&lt;BR /&gt;
&amp;gt; showing the dialog box.&lt;BR /&gt;
&lt;BR /&gt;
  It probably shows it, but the carriage return dismisses it immediately. &lt;BR /&gt;
In that case, you need to revert to plan B.  Define your own command, say &lt;BR /&gt;
MYDDEDIT, with the ACRX_CMD_USEPICKSET and ACRX_CMD_NO_UNDO_MARKER command &lt;BR /&gt;
flags, then call MYDDEDIT via sendStringToExecute.  MYDDEDIT can use &lt;BR /&gt;
acedCommand() to call the DDEDIT command synchronously and exit the 'Select &lt;BR /&gt;
object' prompt after the dialog is closed:&lt;BR /&gt;
acedCommand( RTSTR, "_DDEDIT", RTSTR, "\n", 0 );&lt;BR /&gt;
-- &lt;BR /&gt;
Owen Wengerd&lt;BR /&gt;
President, ManuSoft ==&amp;gt; http://www.manusoft.com&lt;BR /&gt;
VP Americas, CADLock, Inc. ==&amp;gt; http://www.cadlock.com</description>
      <pubDate>Fri, 04 Nov 2005 23:52:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478271#M25022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-04T23:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: sendStringToExecute Problem</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478272#M25023</link>
      <description>Thanks for the suggestion!&lt;BR /&gt;
I've never created my own command but I'll look into that.</description>
      <pubDate>Sat, 05 Nov 2005 16:50:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/sendstringtoexecute-problem/m-p/1478272#M25023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-05T16:50:41Z</dc:date>
    </item>
  </channel>
</rss>

