AnsweredAssumed Answered

Solidworks Screen Capture

Question asked by Micah Burney on Apr 24, 2017
Latest reply on May 2, 2017 by Deepak Gupta

hello everyone! I am new to macro and api's. i need help with just a segment of code that's causing me problems.

 

- i have a website that takes the customers inputs which activates Excel.

- Excel then executes my macro created with vba which then executes solidworks.

- the given inputs from the customers are created through geometry in solidworks.

 

how would write some code to take a screen capture of the current view

save that image as a jpeg and set it to an specific directory

then echo print that image back to URL (website)

 

 

if anyone can help thank you in advance

Outcomes