Message 1 of 1
Insert & Explode
Not applicable
11-06-2004
02:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
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