Inventor Customization

Inventor Customization

Reply
Distinguished Contributor
mucip
Posts: 127
Registered: ‎08-17-2006
Message 1 of 2 (381 Views)

Save as thumbnail as a file in vba?

381 Views, 1 Replies
10-21-2012 04:47 AM

Hi,

I need to save as thumbnails (like jpg or bmp or png file...?) in other directory in VBA. I seen lots of examples but in 32 bit with ThumbnailView companent.

 

I need to get this in Inventor VBA and 64 bit system and I do not want to install any other companent... Possible?...

 

Using Inventor 2013 and Win 7 64 bit...

 

Regards,

Mucip:smileyhappy:

Employee
yuhanzhang
Posts: 480
Registered: ‎01-06-2009
Message 2 of 2 (370 Views)

Re: Save as thumbnail as a file in vba?

10-22-2012 12:22 AM in reply to: mucip

Unfortunately in 64bit Inventor 2013 the VBA editor is running in a host process which is out-of-process against Inventor, and so you are not able to access the thumbnail(iPictureDisp) of Inventor document. You can refer to the blog below for details:

 

http://modthemachine.typepad.com/my_weblog/2010/03/document-thumbnails-and-button-icons.html

 

But as mentioned in the blog, you can create an application to use ApprenticeServer to access the thumbnail of Inventor document in 64bit machine. Hope this helps.



Rocky Zhang
Inventor API
Manufacturing Solutions
Autodesk, Inc.

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.