Message 1 of 3
AcDbObject::Deepclone and SoftPointers
Not applicable
05-23-2006
10:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
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..
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) .
I'm using exactly the same code in the example of AdskPoly (SDK objectARX docummentation and examples).
Somebody could help me please, thanks a lot, (excuse my english).
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..
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) .
I'm using exactly the same code in the example of AdskPoly (SDK objectARX docummentation and examples).
Somebody could help me please, thanks a lot, (excuse my english).