Insert & Explode

Insert & Explode

Anonymous
Not applicable
311 Views
0 Replies
Message 1 of 1

Insert & Explode

Anonymous
Not applicable
I have a dwg file wich has some custom entities .
I have an application loaded that contains the custom entity class.
I try to insert the dwg in a new drawing ..It works... But if in the insert dialog box from autocad I check the explode option
it doesn't work .

I overrrided deepclone function . It is basicaly the same as the example in the documentation or samples.

So my problem is :
If i choose just insert : the pOwner parameter from deepclone
is Ok. By ok I meen i can make a cast to AcDbBlockTableRecord and add the cloned entity ....

If i check the explode option the pOwner is not ok anymore...
I can't make a cast to AcDbBlockTableRecord ... but i can make a cast to AcDbBlockTable !! ...(the object is primary)

In the samples this case is treatead as : eInvalidOwner

One more thing ...if i don't choose insertion point the owner is again ok ..

Help Help Help
0 Likes
312 Views
0 Replies
Replies (0)