<?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: AcDbObject::Deepclone and SoftPointers in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/acdbobject-deepclone-and-softpointers/m-p/1652826#M23540</link>
    <description>Dear friend, thanks for your help.&lt;BR /&gt;
&lt;BR /&gt;
but I have another questions.&lt;BR /&gt;
&lt;BR /&gt;
if copy only entity B (derived from acdbentity, with overriding AcDbObject::worldraw) the cloned B entity is ok, the problem arise when I copy entity B and entity A (derived from AcDbBlockReference) together and using softpointer reference between them.&lt;BR /&gt;
&lt;BR /&gt;
are there problems with soft pointer references?&lt;BR /&gt;
&lt;BR /&gt;
again thanks a lot Cyrille.&lt;BR /&gt;
&lt;BR /&gt;
or I don't use soft pointer reference between entities, and again cloned entities A and B are OK</description>
    <pubDate>Wed, 24 May 2006 17:04:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-05-24T17:04:33Z</dc:date>
    <item>
      <title>AcDbObject::Deepclone and SoftPointers</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbobject-deepclone-and-softpointers/m-p/1652824#M23538</link>
      <description>Hi &lt;BR /&gt;
&lt;BR /&gt;
I have two objects A, B derived from AcDbEntity, with worldDraw overriding method, using geometry polyline (array of AcGePoint3d) primitive to generate the entity graphic in object B, and object a is derived form AcDbBlockReference..&lt;BR /&gt;
&lt;BR /&gt;
Object A has a soft pointer reference to B, and B has soft pointer reference to A, (reflexive relation betwen them). when I use AcDbObject:: deepclone and copy objects A and B the polyline graphic  produced in the cloned object B is corrupted (there are more points in the array of AcGePoint3d) .&lt;BR /&gt;
&lt;BR /&gt;
I'm using exactly the same code in the example of AdskPoly (SDK objectARX docummentation and examples).&lt;BR /&gt;
&lt;BR /&gt;
Somebody could help me please, thanks a lot, (excuse my english).</description>
      <pubDate>Tue, 23 May 2006 17:57:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbobject-deepclone-and-softpointers/m-p/1652824#M23538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-23T17:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbObject::Deepclone and SoftPointers</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbobject-deepclone-and-softpointers/m-p/1652825#M23539</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
This is probably because your dwgInFields() method does not clean teh point &lt;BR /&gt;
array before reading the clone, so you end up with more points than &lt;BR /&gt;
expected.&lt;BR /&gt;
&lt;BR /&gt;
cheers&lt;BR /&gt;
cyrille</description>
      <pubDate>Wed, 24 May 2006 15:05:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbobject-deepclone-and-softpointers/m-p/1652825#M23539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-24T15:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbObject::Deepclone and SoftPointers</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbobject-deepclone-and-softpointers/m-p/1652826#M23540</link>
      <description>Dear friend, thanks for your help.&lt;BR /&gt;
&lt;BR /&gt;
but I have another questions.&lt;BR /&gt;
&lt;BR /&gt;
if copy only entity B (derived from acdbentity, with overriding AcDbObject::worldraw) the cloned B entity is ok, the problem arise when I copy entity B and entity A (derived from AcDbBlockReference) together and using softpointer reference between them.&lt;BR /&gt;
&lt;BR /&gt;
are there problems with soft pointer references?&lt;BR /&gt;
&lt;BR /&gt;
again thanks a lot Cyrille.&lt;BR /&gt;
&lt;BR /&gt;
or I don't use soft pointer reference between entities, and again cloned entities A and B are OK</description>
      <pubDate>Wed, 24 May 2006 17:04:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbobject-deepclone-and-softpointers/m-p/1652826#M23540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-24T17:04:33Z</dc:date>
    </item>
  </channel>
</rss>

