

To use the code below, create a new “Windows Form Application”. Below is some VB.Net code that uses Apprentice to read a thumbnail from an Inventor document and display it within a picture box.

MsgBox "The active document doesn't have a thumbnail."īecause Apprentice provides access to iProperties, you can use it instead of Inventor to access the thumbnail. It's possible for aĬall SavePicture(thumbnail, "C:\Temp\Thumb.bmp")

Set thumbProp = summaryInfo.Item("Thumbnail") ' Get the Summary Information property set. Here is the result: Inventor Summary Information / ") I was told that it could be useful to provide a list of all the property names used for iProperties - for reference, I assume.Īctually, you can get this list with a simple VBA code 😀 Sub GetPropertySets()ĭebug.Print ps.Name + " / " + ps.InternalNameĭebug.Print " " + p.Name + " /" + Str(p.PropId)
