.NET

Reply
Contributor
ivst
Posts: 19
Registered: ‎02-09-2004
Message 11 of 13 (511 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 (482 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 (434 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community