• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Contributor
    Posts: 19
    Registered: ‎02-09-2004

    Re: How to Access Raster Preview/Thumbnail Stored in DWG

    04-28-2011 07:07 AM in reply to: *Warren Newhauser

    I have successfully used this code for many years (since Inventor 2009) to view .ipt thumbnails on a form.

    However, after I installed Inventor 2012 the code has stopped working.

    If I start Inventor 2011 and run the code, the thumbnail is extracted successfully.

    If I start Inventor 2012 and run the code, it fails at the xImg.Extract(img) line (see attachment).

    If I again start Inventor 2011 and run the code, the thumbnail is extracted successfully.

    etc.

    Are there anyone who can help in solving this?

    Please use plain text.
    Distinguished Contributor
    Posts: 195
    Registered: ‎10-03-2003

    Re: How to Access Raster Preview/Thumbnail Stored in DWG

    04-28-2011 11:17 AM in reply to: ivst
    Please use plain text.
    Distinguished Contributor
    Posts: 181
    Registered: ‎09-22-2006

    Re: How to Access Raster Preview/Thumbnail Stored in DWG

    05-03-2011 01:15 PM in reply to: Mikko

    Guess what happened when I tried this on .dwg files?

     

    OK, I'll tell you, I got previews.

    Dwg files were save as 2000 or 2007 file type.

    CAD Programming Solutions
    Please use plain text.