.NET

.NET

Reply
Contributor
19 Posts
0 Kudos
Registered: ‎02-09-2004
Post 11 of 13

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
212 Posts
6 Kudos
Registered: ‎10-03-2003
Post 12 of 13

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

04-28-2011 11:17 AM in reply to: ivst
Distinguished Contributor
184 Posts
5 Kudos
Registered: ‎09-22-2006
Post 13 of 13

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!