Using RealDWG 2013, I was having a problem reading a DWG file with Raster Attachments.
RasterImageDef imgDef = Tx.GetObject((ObjectId)imageEntry.Value, OpenMode.ForRead) as RasterImageDef;
was returning null.
I used the workaround mentioned here
it worked for me.
I did not have this problem with RealDwg 2012, so I'm not sure what changed.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!