Sure you can save your SW screen to jpeg file - see att. code - as it's saved the jpeg file to your working directory but you can point to diff. folder
Dim swDwg As SldWorks.DrawingDoc
Set swDwg = swApp.ActiveDoc
Dim longstatus As Long
Dim longwarnings As Long
Dim longerrors As Long
Dim bret As Boolean
Dim sFullName As String
sFullName = swDwg.GetPathName()
sPictName = Replace(sFullName, ".SLDDRW", ".jpg", 1, -1, vbTextCompare)
bret = swDwg.SaveAs4(sPictName, 0, swSaveAsOptions_Silent, longerrors, longwarnings)
thank you for the replying Christian Chu.
my question is. where exactly in this segment of code do i have to modify and will this print the image back to URL (website).
Set the saveas path to the same path where you website is taking it's image path and it would overwrite. You may also look into using 3DCC or DriveWorksPro Live
Deepak Gupta thanks for the reply!
what exactly are those programs? and how can it help me in this situation?
when you say the "my website image path" are you talking about the source code itself to create the website or just write some more code to create another block for the given website to create space for the jpeg?
srry for the questions i'm kinda new to company
Micah, I mean the path where you website page picks up images from. You can set the macro to save the image as same name your website is referring to. And then on a page refresh, the image will update.
You can also use the macro to save the file in specific directory and then copy that file (again using macro) over to the website server/location.