<?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: Custom Jig Working in R18 but not R19 in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/custom-jig-working-in-r18-but-not-r19/m-p/4319671#M13527</link>
    <description>The stepping issue is most likely related to something not setup correctly in your debugger, perhaps you are loading the wrong DLL. Can you set break points?&lt;BR /&gt;&lt;BR /&gt;The ghosting issue is most likely caused by not testing if the last input makes a difference to the newest input. If there is no change you should return the fact from your sampler</description>
    <pubDate>Thu, 04 Jul 2013 15:18:20 GMT</pubDate>
    <dc:creator>fenton_webb</dc:creator>
    <dc:date>2013-07-04T15:18:20Z</dc:date>
    <item>
      <title>Custom Jig Working in R18 but not R19</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-jig-working-in-r18-but-not-r19/m-p/4316323#M13526</link>
      <description>&lt;P&gt;I have a custom jig that extends AcEdJig to use with a custom object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the routine a jig is created and a method on the jig called that starts the AcedJig::drag() routine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is exactly the same in R18 and R19 and I can see in the debugger that the jig is my custom jig.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is the drag behaviour is not working properly in R19, there is no preview of my custom object being dragged. The custom code is stepped through fine and it reaches the AcedJig::drag() call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However in R18 the jig works correctly but will not step through any code into the custom jig. Both versions I have been using mixed mode debugging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The call works like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;CustomJig * newJig = new CustomJig(customObject);

newJig-&amp;gt;doIt(_T("Prompt for user"));&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 'do it' method&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Adesk::Boolean CustomJig::doIt(AcString prompt)
{

     setDispPrompt(prompt);
     AcEdJig::DragStatus stat = drag();
     setDispPrompt(_T("\n"));
     if (stat != 0)
     {
         return Adesk::kFalse;
     }   
   

     return Adesk::kTrue;
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any ideas why R19 isn't working and R18 won't step through?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 08:48:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-jig-working-in-r18-but-not-r19/m-p/4316323#M13526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-02T08:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Jig Working in R18 but not R19</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-jig-working-in-r18-but-not-r19/m-p/4319671#M13527</link>
      <description>The stepping issue is most likely related to something not setup correctly in your debugger, perhaps you are loading the wrong DLL. Can you set break points?&lt;BR /&gt;&lt;BR /&gt;The ghosting issue is most likely caused by not testing if the last input makes a difference to the newest input. If there is no change you should return the fact from your sampler</description>
      <pubDate>Thu, 04 Jul 2013 15:18:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-jig-working-in-r18-but-not-r19/m-p/4319671#M13527</guid>
      <dc:creator>fenton_webb</dc:creator>
      <dc:date>2013-07-04T15:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Jig Working in R18 but not R19</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-jig-working-in-r18-but-not-r19/m-p/4320220#M13528</link>
      <description>&lt;P&gt;It's not the debugger I can set breakpoints and step through in R19.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not the code as it works in R18, it's not 'ghosting' anyway it's just not giving a moving preview in R19 - same code as R18 though but using a different version of ObjectArx&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2013 07:56:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-jig-working-in-r18-but-not-r19/m-p/4320220#M13528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-05T07:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Jig Working in R18 but not R19</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-jig-working-in-r18-but-not-r19/m-p/4320393#M13529</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have attached a modified version of the EllipseJig SDK sample to jig a custom entity. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The preview was displayed while jigging in AutoCAD 2013.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To try the attached project :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-Build the attached project&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- start AutoCAD 2013&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Appload the .dbx and .arx modules&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Run the "Test" command and provide the inputs for the ellipse custom entity.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It seems this behavior is specific to your implementation. Can you please share a reproducible sample project ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2013 12:21:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-jig-working-in-r18-but-not-r19/m-p/4320393#M13529</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2013-07-05T12:21:09Z</dc:date>
    </item>
  </channel>
</rss>

