<?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: AcDbBlockTableRecord in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002431#M20954</link>
    <description>Duh - I completely overlooked that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2008&lt;BR /&gt;
Supporting AutoCAD 2000 through 2008&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Owen Wengerd" &lt;OWENW&gt; wrote in message news:5636336@discussion.autodesk.com...&lt;BR /&gt;
In addition to what Tony said, If I understand correctly, you're trying to &lt;BR /&gt;
add an entity to two different block table records.  Since entities can have &lt;BR /&gt;
only one owner, this would not be legal and I would expect &lt;BR /&gt;
appendAcDbEntity() to fail. &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&lt;/OWENW&gt;</description>
    <pubDate>Sat, 23 Jun 2007 22:17:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-06-23T22:17:32Z</dc:date>
    <item>
      <title>AcDbBlockTableRecord</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002428#M20951</link>
      <description>//---------------------failed-------------------&lt;BR /&gt;
AcDbBlockTableRecord* pRecord=new AcDbBlockTableRecord;&lt;BR /&gt;
acdbOpenAcDbEntity(pEnt, ObjectId, AcDb::kForWrite);&lt;BR /&gt;
pRecord-&amp;gt;appendAcDbEntity(pEnt);&lt;BR /&gt;
//------------------------success------&lt;BR /&gt;
pEnt=new AcDbCircle(AcGePoint3d(0,0,0),AcGeVector3d::kZAxis,100);&lt;BR /&gt;
pRecord-&amp;gt;appendAcDbEntity(pEnt);&lt;BR /&gt;
//----------------------------------------------&lt;BR /&gt;
why?&lt;BR /&gt;
if pEnt reference to a entity in model space of database,the function appendAcDbEntity() failed???</description>
      <pubDate>Sat, 23 Jun 2007 15:02:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002428#M20951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-06-23T15:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbBlockTableRecord</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002429#M20952</link>
      <description>I'll guess that it is because you can't append an entity &lt;BR /&gt;
to a block table record that itself has not been added&lt;BR /&gt;
to the database/blocktable.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2008&lt;BR /&gt;
Supporting AutoCAD 2000 through 2008&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;GANGZAISHAO&gt; wrote in message news:5636257@discussion.autodesk.com...&lt;BR /&gt;
//---------------------failed-------------------&lt;BR /&gt;
AcDbBlockTableRecord* pRecord=new AcDbBlockTableRecord;&lt;BR /&gt;
acdbOpenAcDbEntity(pEnt, ObjectId, AcDb::kForWrite);&lt;BR /&gt;
pRecord-&amp;gt;appendAcDbEntity(pEnt);&lt;BR /&gt;
//------------------------success------&lt;BR /&gt;
pEnt=new AcDbCircle(AcGePoint3d(0,0,0),AcGeVector3d::kZAxis,100);&lt;BR /&gt;
pRecord-&amp;gt;appendAcDbEntity(pEnt);&lt;BR /&gt;
//----------------------------------------------&lt;BR /&gt;
why?&lt;BR /&gt;
if pEnt reference to a entity in model space of database,the function appendAcDbEntity() failed???&lt;/GANGZAISHAO&gt;</description>
      <pubDate>Sat, 23 Jun 2007 18:36:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002429#M20952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-06-23T18:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbBlockTableRecord</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002430#M20953</link>
      <description>In addition to what Tony said, If I understand correctly, you're trying to &lt;BR /&gt;
add an entity to two different block table records.  Since entities can have &lt;BR /&gt;
only one owner, this would not be legal and I would expect &lt;BR /&gt;
appendAcDbEntity() to fail. &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>Sat, 23 Jun 2007 18:43:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002430#M20953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-06-23T18:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbBlockTableRecord</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002431#M20954</link>
      <description>Duh - I completely overlooked that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2008&lt;BR /&gt;
Supporting AutoCAD 2000 through 2008&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Owen Wengerd" &lt;OWENW&gt; wrote in message news:5636336@discussion.autodesk.com...&lt;BR /&gt;
In addition to what Tony said, If I understand correctly, you're trying to &lt;BR /&gt;
add an entity to two different block table records.  Since entities can have &lt;BR /&gt;
only one owner, this would not be legal and I would expect &lt;BR /&gt;
appendAcDbEntity() to fail. &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&lt;/OWENW&gt;</description>
      <pubDate>Sat, 23 Jun 2007 22:17:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002431#M20954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-06-23T22:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbBlockTableRecord</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002432#M20955</link>
      <description>After Owen's clarifying what it is you're&lt;BR /&gt;
actually doing, I think what you want is&lt;BR /&gt;
AcDbBlockTableRecord::assumeOwnershipOf()&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2008&lt;BR /&gt;
Supporting AutoCAD 2000 through 2008&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;GANGZAISHAO&gt; wrote in message news:5636257@discussion.autodesk.com...&lt;BR /&gt;
//---------------------failed-------------------&lt;BR /&gt;
AcDbBlockTableRecord* pRecord=new AcDbBlockTableRecord;&lt;BR /&gt;
acdbOpenAcDbEntity(pEnt, ObjectId, AcDb::kForWrite);&lt;BR /&gt;
pRecord-&amp;gt;appendAcDbEntity(pEnt);&lt;BR /&gt;
//------------------------success------&lt;BR /&gt;
pEnt=new AcDbCircle(AcGePoint3d(0,0,0),AcGeVector3d::kZAxis,100);&lt;BR /&gt;
pRecord-&amp;gt;appendAcDbEntity(pEnt);&lt;BR /&gt;
//----------------------------------------------&lt;BR /&gt;
why?&lt;BR /&gt;
if pEnt reference to a entity in model space of database,the function appendAcDbEntity() failed???&lt;/GANGZAISHAO&gt;</description>
      <pubDate>Sat, 23 Jun 2007 22:20:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002432#M20955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-06-23T22:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbBlockTableRecord</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002433#M20956</link>
      <description>I see!&lt;BR /&gt;
thank you!&lt;BR /&gt;
by the way,I don't know how to create a picture box to preview a block.for example the command INSERT will call out a dialog which have a picture box show the block thumbnail currently selected.</description>
      <pubDate>Sun, 24 Jun 2007 02:05:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbblocktablerecord/m-p/2002433#M20956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-06-24T02:05:25Z</dc:date>
    </item>
  </channel>
</rss>

