.NET

Reply
Contributor
Posts: 19
Registered: ‎02-09-2004
Message 11 of 13 (484 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
Posts: 209
Registered: ‎10-03-2003
Message 12 of 13 (455 Views)

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

04-28-2011 11:17 AM in reply to: ivst
Distinguished Contributor
Posts: 184
Registered: ‎09-22-2006
Message 13 of 13 (407 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
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

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

Ask the Community