ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
roro or07/08/2024

Hi SolidWorks Community,

I'm working on a project that involves exporting several sheet metal files to PNG format using the C# API. For the purposes of image processing, I need to export these images with a known scaling factor, such as 1mm = 1px, or something similar.

Currently, I use partDoc.ViewZoomtofit2(); to fit the part into the view before exporting, but this doesn't provide the control I need