<?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: How to cancel a jig drag loop from a modeless dialog in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950901#M1757</link>
    <description>&lt;P&gt;I want to change the jig entity's property by picking another entity, the jig loop should still be there after the pick action.&lt;/P&gt;&lt;P&gt;I tried the solution by sending esc, it seems the esc will execute later than the pick action.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 May 2023 07:58:59 GMT</pubDate>
    <dc:creator>hbxiaogui</dc:creator>
    <dc:date>2023-05-09T07:58:59Z</dc:date>
    <item>
      <title>How to cancel a jig drag loop from a modeless dialog</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11948024#M1754</link>
      <description>&lt;P&gt;I have a modeless dialog showing during jig.&lt;/P&gt;&lt;P&gt;There is a command in modeless dialog that uses&amp;nbsp;acedEntSel() to pick an entity, and it returns&amp;nbsp;RTREJ&amp;nbsp;immediately.&lt;/P&gt;&lt;P&gt;I think the reason is I'm inside the jig. drag() loop, so I can't use&amp;nbsp;acedEntSel().&lt;/P&gt;&lt;P&gt;So how can I cancel the drag loop from a modeless dialog?&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 02:59:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11948024#M1754</guid>
      <dc:creator>hbxiaogui</dc:creator>
      <dc:date>2023-05-08T02:59:17Z</dc:date>
    </item>
    <item>
      <title>回复： How to cancel a jig drag loop from a modeless dialog</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950798#M1755</link>
      <description>&lt;P&gt;I can't find a way to cancel the drag loop,and finally I move the command from dialog into my jig class, then use keywords to pick the entity.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 06:53:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950798#M1755</guid>
      <dc:creator>hbxiaogui</dc:creator>
      <dc:date>2023-05-09T06:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to cancel a jig drag loop from a modeless dialog</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950871#M1756</link>
      <description>&lt;P&gt;Try to send &amp;lt;ESC&amp;gt; like this:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;AcApDocument *pCurrDoc = acDocManager-&amp;gt;curDocument(); 
LPCTSTR cmd = _T("\x1B"); // ESC
Acad::ErrorStatus es = acDocManager-&amp;gt;sendStringToExecute(pCurrDoc, cmd);
&lt;/LI-CODE&gt;
&lt;P&gt;If you have added a keyword to cancel the jig, you can also send the keyword with&amp;nbsp;&lt;FONT face="courier new,courier"&gt;cmd=_T("yourkey\n")&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 07:43:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950871#M1756</guid>
      <dc:creator>tbrammer</dc:creator>
      <dc:date>2023-05-09T07:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to cancel a jig drag loop from a modeless dialog</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950901#M1757</link>
      <description>&lt;P&gt;I want to change the jig entity's property by picking another entity, the jig loop should still be there after the pick action.&lt;/P&gt;&lt;P&gt;I tried the solution by sending esc, it seems the esc will execute later than the pick action.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 07:58:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950901#M1757</guid>
      <dc:creator>hbxiaogui</dc:creator>
      <dc:date>2023-05-09T07:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to cancel a jig drag loop from a modeless dialog</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950954#M1758</link>
      <description>&lt;P&gt;I don't think that it is possible to call&amp;nbsp;&lt;FONT face="courier new,courier"&gt;acedEntSel()&lt;/FONT&gt; during a jig loop. If you need to select an entity "within" the jig, you should exit the drag loop, select and re-enter the jig by calling &lt;FONT face="courier new,courier"&gt;jig.drag()&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The effect of&lt;/P&gt;
&lt;PRE class="lia-code-sample line-numbers language-cpp" tabindex="0"&gt;&lt;CODE&gt;acDocManager-&amp;gt;sendStringToExecute(pCurrDoc, cmd);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is the same as entering&amp;nbsp;&lt;FONT face="courier new,courier"&gt;cmd&lt;/FONT&gt; on the commandline. &lt;FONT face="courier new,courier"&gt;cmd&amp;nbsp;&lt;/FONT&gt;is sent to AutoCAD's command queue and will be processed as soon as the command processor is ready to parse input.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 08:24:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950954#M1758</guid>
      <dc:creator>tbrammer</dc:creator>
      <dc:date>2023-05-09T08:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to cancel a jig drag loop from a modeless dialog</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950988#M1759</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;I add the button back to my dialog, and the click event only sends a keyword.&lt;/P&gt;&lt;P&gt;Now the loop&amp;nbsp;&lt;SPAN&gt;works as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 08:40:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-cancel-a-jig-drag-loop-from-a-modeless-dialog/m-p/11950988#M1759</guid>
      <dc:creator>hbxiaogui</dc:creator>
      <dc:date>2023-05-09T08:40:56Z</dc:date>
    </item>
  </channel>
</rss>

