<?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: erasing xdata in a Blockreference in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/erasing-xdata-in-a-blockreference/m-p/322632#M34874</link>
    <description>The erase() method doesn't remove anything from memory.  All it does is&lt;BR /&gt;
toggle a flag in the object that indicates whether or not the object is&lt;BR /&gt;
erased.&lt;BR /&gt;
&lt;BR /&gt;
"Jörg Kühne" &lt;KKKUEHNE&gt; wrote in message&lt;BR /&gt;
news:1120CDFFB7EEAC6859D1DA15E36EE2DA@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hello,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; if I erase a AcDbBlockReference (with pBlockRef-&amp;gt;erase()) that contains&lt;BR /&gt;
&amp;gt; Xdata , is the Data of the Xdata correctly removed from memory or do i&lt;BR /&gt;
have&lt;BR /&gt;
&amp;gt; to do some extra action for this ?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thank you&lt;BR /&gt;
&amp;gt; Jörg&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/KKKUEHNE&gt;</description>
    <pubDate>Fri, 25 Jul 2003 14:05:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-07-25T14:05:16Z</dc:date>
    <item>
      <title>erasing xdata in a Blockreference</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/erasing-xdata-in-a-blockreference/m-p/322631#M34873</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
if I erase a AcDbBlockReference (with pBlockRef-&amp;gt;erase()) that contains&lt;BR /&gt;
Xdata , is the Data of the Xdata correctly removed from memory or do i have&lt;BR /&gt;
to do some extra action for this ?&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
Jörg</description>
      <pubDate>Fri, 25 Jul 2003 13:30:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/erasing-xdata-in-a-blockreference/m-p/322631#M34873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T13:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: erasing xdata in a Blockreference</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/erasing-xdata-in-a-blockreference/m-p/322632#M34874</link>
      <description>The erase() method doesn't remove anything from memory.  All it does is&lt;BR /&gt;
toggle a flag in the object that indicates whether or not the object is&lt;BR /&gt;
erased.&lt;BR /&gt;
&lt;BR /&gt;
"Jörg Kühne" &lt;KKKUEHNE&gt; wrote in message&lt;BR /&gt;
news:1120CDFFB7EEAC6859D1DA15E36EE2DA@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hello,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; if I erase a AcDbBlockReference (with pBlockRef-&amp;gt;erase()) that contains&lt;BR /&gt;
&amp;gt; Xdata , is the Data of the Xdata correctly removed from memory or do i&lt;BR /&gt;
have&lt;BR /&gt;
&amp;gt; to do some extra action for this ?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thank you&lt;BR /&gt;
&amp;gt; Jörg&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/KKKUEHNE&gt;</description>
      <pubDate>Fri, 25 Jul 2003 14:05:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/erasing-xdata-in-a-blockreference/m-p/322632#M34874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T14:05:16Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/erasing-xdata-in-a-blockreference/m-p/322633#M34875</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I asked the my question in a wrong way. What I mean is: If I want to delete&lt;BR /&gt;
a Blockreference with xdata (similar to Acadcommand: _erase) can I do this&lt;BR /&gt;
in the following usual way (minimal code without any errorchecking) ?:&lt;BR /&gt;
&lt;BR /&gt;
acdbOpenObject(pObj,blkRefId,AcDb::kForWrite);&lt;BR /&gt;
pObj-&amp;gt;erase();&lt;BR /&gt;
pObj-&amp;gt;close();&lt;BR /&gt;
&lt;BR /&gt;
or do I have to consider something because of the xdata ?&lt;BR /&gt;
&lt;BR /&gt;
Regards Jörg&lt;BR /&gt;
&lt;BR /&gt;
"Art Cooney" &lt;ARTC&gt; schrieb im Newsbeitrag&lt;BR /&gt;
news:31E32BC7A54E7240FAC6EF550338FA74@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; The erase() method doesn't remove anything from memory.  All it does is&lt;BR /&gt;
&amp;gt; toggle a flag in the object that indicates whether or not the object is&lt;BR /&gt;
&amp;gt; erased.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Jörg Kühne" &lt;KKKUEHNE&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:1120CDFFB7EEAC6859D1DA15E36EE2DA@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Hello,&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; if I erase a AcDbBlockReference (with pBlockRef-&amp;gt;erase()) that contains&lt;BR /&gt;
&amp;gt; &amp;gt; Xdata , is the Data of the Xdata correctly removed from memory or do i&lt;BR /&gt;
&amp;gt; have&lt;BR /&gt;
&amp;gt; &amp;gt; to do some extra action for this ?&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Thank you&lt;BR /&gt;
&amp;gt; &amp;gt; Jörg&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/KKKUEHNE&gt;&lt;/ARTC&gt;</description>
      <pubDate>Fri, 25 Jul 2003 15:35:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/erasing-xdata-in-a-blockreference/m-p/322633#M34875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T15:35:45Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/erasing-xdata-in-a-blockreference/m-p/322634#M34876</link>
      <description>The xdata goes with the object, so if you erase the object (via AutoCAD&lt;BR /&gt;
command or the erase() method), the object's xdata is part of that erase&lt;BR /&gt;
operation.  When the drawing is then saved, the object and its xdata will&lt;BR /&gt;
not be saved.&lt;BR /&gt;
&lt;BR /&gt;
"Jörg Kühne" &lt;KKKUEHNE&gt; wrote in message&lt;BR /&gt;
news:6BF5EF72197E9EC33061A6332B820990@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hello,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I asked the my question in a wrong way. What I mean is: If I want to&lt;BR /&gt;
delete&lt;BR /&gt;
&amp;gt; a Blockreference with xdata (similar to Acadcommand: _erase) can I do this&lt;BR /&gt;
&amp;gt; in the following usual way (minimal code without any errorchecking) ?:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; acdbOpenObject(pObj,blkRefId,AcDb::kForWrite);&lt;BR /&gt;
&amp;gt; pObj-&amp;gt;erase();&lt;BR /&gt;
&amp;gt; pObj-&amp;gt;close();&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; or do I have to consider something because of the xdata ?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Regards Jörg&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Art Cooney" &lt;ARTC&gt; schrieb im Newsbeitrag&lt;BR /&gt;
&amp;gt; news:31E32BC7A54E7240FAC6EF550338FA74@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; The erase() method doesn't remove anything from memory.  All it does is&lt;BR /&gt;
&amp;gt; &amp;gt; toggle a flag in the object that indicates whether or not the object is&lt;BR /&gt;
&amp;gt; &amp;gt; erased.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Jörg Kühne" &lt;KKKUEHNE&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:1120CDFFB7EEAC6859D1DA15E36EE2DA@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Hello,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; if I erase a AcDbBlockReference (with pBlockRef-&amp;gt;erase()) that&lt;BR /&gt;
contains&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Xdata , is the Data of the Xdata correctly removed from memory or do i&lt;BR /&gt;
&amp;gt; &amp;gt; have&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; to do some extra action for this ?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Thank you&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Jörg&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/KKKUEHNE&gt;&lt;/ARTC&gt;&lt;/KKKUEHNE&gt;</description>
      <pubDate>Fri, 25 Jul 2003 15:58:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/erasing-xdata-in-a-blockreference/m-p/322634#M34876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-25T15:58:34Z</dc:date>
    </item>
  </channel>
</rss>

