.NET

.NET

Reply
Contributor
ivst
Posts: 19
Registered: ‎02-09-2004
Message 11 of 13 (553 Views)

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?

Distinguished Contributor
Mikko
Posts: 212
Registered: ‎10-03-2003
Message 12 of 13 (524 Views)

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

04-28-2011 11:17 AM in reply to: ivst
Distinguished Contributor
mohnston
Posts: 184
Registered: ‎09-22-2006
Message 13 of 13 (476 Views)

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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.