ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
MBMicah Burney24/04/2017

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