<?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: in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/use-of-acedjig-with-blocks/m-p/313085#M39070</link>
    <description>Hi!&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help, but I fixed the problem I posted before by myself.&lt;BR /&gt;
But now I have another problem with my AcEdJig class...&lt;BR /&gt;
I already get the preview I want and the Block is inserted on the&lt;BR /&gt;
position, which the user selects. But when I move the mouse over&lt;BR /&gt;
the Block in ACAD I receive the following error:&lt;BR /&gt;
&lt;BR /&gt;
** Undefined block #5&lt;BR /&gt;
&lt;BR /&gt;
What does it mean?&lt;BR /&gt;
The block is inserted with the AcEdJig::append() function.&lt;BR /&gt;
&lt;BR /&gt;
I hope someone can help, Markus</description>
    <pubDate>Mon, 07 Oct 2002 03:56:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2002-10-07T03:56:25Z</dc:date>
    <item>
      <title>use of AcEdJig with blocks</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/use-of-acedjig-with-blocks/m-p/313083#M39068</link>
      <description>Hi all!&lt;BR /&gt;
&lt;BR /&gt;
I want to implement a similar functionality to the Insert&amp;gt;Block function&lt;BR /&gt;
in ACAD and therefor I want to use the AcEdJig class to get a&lt;BR /&gt;
preview of the block going to be inserted. The user only has to select&lt;BR /&gt;
a insertion position. I used the "elipsjig" Sample from the sdk and&lt;BR /&gt;
modified the code for my special preferences.&lt;BR /&gt;
The Problem is, that no preivew is drawn.&lt;BR /&gt;
There is a small code snip:&lt;BR /&gt;
&lt;BR /&gt;
void MyJig::doIt()&lt;BR /&gt;
{&lt;BR /&gt;
    mPromptCounter = 0;&lt;BR /&gt;
 setDispPrompt("\nInsertion Point?: ");&lt;BR /&gt;
    AcEdJig::DragStatus stat = drag();&lt;BR /&gt;
&lt;BR /&gt;
 append();&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
AcEdJig::DragStatus MyJig::sampler()&lt;BR /&gt;
{&lt;BR /&gt;
    DragStatus stat;&lt;BR /&gt;
&lt;BR /&gt;
    setUserInputControls((UserInputControls)&lt;BR /&gt;
        (AcEdJig::kAccept3dCoordinates&lt;BR /&gt;
         | AcEdJig::kNoNegativeResponseAccepted&lt;BR /&gt;
         | AcEdJig::kNoZeroResponseAccepted));&lt;BR /&gt;
&lt;BR /&gt;
    if (mPromptCounter == 0) {&lt;BR /&gt;
&lt;BR /&gt;
       //&lt;BR /&gt;
        static AcGePoint3d axisPointTemp;&lt;BR /&gt;
        stat = acquirePoint(m_CenterPt);&lt;BR /&gt;
    }&lt;BR /&gt;
&lt;BR /&gt;
    return stat;&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
In the following function the Ellipse was set in the example.&lt;BR /&gt;
What should I do with my block right in here?&lt;BR /&gt;
&lt;BR /&gt;
Adesk::Boolean MyJig::update()&lt;BR /&gt;
{&lt;BR /&gt;
    switch (mPromptCounter) {&lt;BR /&gt;
    case 0:&lt;BR /&gt;
&lt;BR /&gt;
        break;&lt;BR /&gt;
    }&lt;BR /&gt;
&lt;BR /&gt;
    return Adesk::kTrue;&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
Any help would be appreciated.&lt;BR /&gt;
Thanks, Markus</description>
      <pubDate>Fri, 04 Oct 2002 00:30:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/use-of-acedjig-with-blocks/m-p/313083#M39068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-04T00:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: use of AcEdJig with blocks</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/use-of-acedjig-with-blocks/m-p/313084#M39069</link>
      <description>What are you returning in your AcEdJig::entity() override...&lt;BR /&gt;
&lt;BR /&gt;
     |&lt;BR /&gt;
----+----------------------------------------------&lt;BR /&gt;
     |  Byron Blattel&lt;BR /&gt;
     |  CADwerx---Applications for AutoCAD&lt;BR /&gt;
     |  Autodesk Registered Developer&lt;BR /&gt;
     |  email: byron@cadwerx.net&lt;BR /&gt;
     |  web site: http://www.cadwerx.net&lt;BR /&gt;
     |</description>
      <pubDate>Fri, 04 Oct 2002 05:24:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/use-of-acedjig-with-blocks/m-p/313084#M39069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-04T05:24:38Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/use-of-acedjig-with-blocks/m-p/313085#M39070</link>
      <description>Hi!&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help, but I fixed the problem I posted before by myself.&lt;BR /&gt;
But now I have another problem with my AcEdJig class...&lt;BR /&gt;
I already get the preview I want and the Block is inserted on the&lt;BR /&gt;
position, which the user selects. But when I move the mouse over&lt;BR /&gt;
the Block in ACAD I receive the following error:&lt;BR /&gt;
&lt;BR /&gt;
** Undefined block #5&lt;BR /&gt;
&lt;BR /&gt;
What does it mean?&lt;BR /&gt;
The block is inserted with the AcEdJig::append() function.&lt;BR /&gt;
&lt;BR /&gt;
I hope someone can help, Markus</description>
      <pubDate>Mon, 07 Oct 2002 03:56:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/use-of-acedjig-with-blocks/m-p/313085#M39070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-07T03:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: use of AcEdJig with blocks</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/use-of-acedjig-with-blocks/m-p/313086#M39071</link>
      <description>Add to update method&lt;BR /&gt;
=============================&lt;BR /&gt;
mpBlkRef-&amp;gt;setPosition(m_CenterPt);&lt;BR /&gt;
&lt;BR /&gt;
this is my source code&lt;BR /&gt;
mpBlkRef-&amp;gt;setRotation(mAngle);&lt;BR /&gt;
=============================</description>
      <pubDate>Fri, 05 Nov 2004 05:48:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/use-of-acedjig-with-blocks/m-p/313086#M39071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-05T05:48:02Z</dc:date>
    </item>
  </channel>
</rss>

