
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am currently trying to use classes AcDbRasterImageDef and AcDbRasterImage and i followed the Examplecode on ObjectARX 2008 Sample ISM: Link: ism example.zip
After some fixes i finally got some tiny results: I finally got through the newImageAttach() function and could see an entity in the Image list. But something went wrong, because i couldn't see that image in my drw. neither in the Raster Design Image-dropdownlist. Take a look at my screenshot:
On its status it's "Nicht referenziert", which means "not referenced" and if i try to embed this image, ACAD will close with an Exception. Second problem is, that i couldn't manipulate this image because the line:
ErrorStatus = acdbOpenObject((AcDbObject*&) pAcDbRasterImage, parEntityId, AcDb::kForWrite);
returns an ErrorStatus::eNullObjectId which means, that objId is AcDbObjectId::kNull.
Could you guys take a look on my code and tell me what i am doing wrong here?
you can take a look at: http://piratepad.net/5HxFq8GBkG
Thanks a lot!
Yours sincerely
Philip
Solved! Go to Solution.