Not applicable
04-18-2018
05:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using iLogic to create an HTML page with a table listing certain parts from an assembly BOM.
I would like to include a column for a thumbnail image of the part. Here is some of the code (please note, large chunks of code is missing, but just to give a better idea of what I'm building on)
oWrite = System.IO.File.CreateText(oHTMLDoc) ' Create the HTML file
' Lines to set up HTML table, fonts etc.....
For Each oRow As BOMRow In oBOMRows
oRowCompDef = oRow.ComponentDefinitions.Item(1) fullfilename = oRowCompDef.Document.FullFileName partnumber = oRowCompDef.Document.PropertySets("Design Tracking Properties").Item("Part Number").Value category = oRowCompDef.Document.PropertySets("Inventor Document Summary Information").Item("Category").Value comments = oRowCompDef.Document.PropertySets("Inventor Summary Information").Item("Comments").Value ' Add thumbnail image here oWrite.WriteLine("<td Class=""tg-yw4l"">" & "<a href=""" & fullfilename & """> " & partnumber & "</a>" & "</td>") oWrite.WriteLine("<td Class=""tg-yw4l"">" & category & "</td>") oWrite.WriteLine("<td Class=""tg-yw4l"">" & comments & "</td>") Next
What is the best way to access the thumbnail image for me to use it on my HTML document?
Solved! Go to Solution.
Link copied