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

Hello,

I have seen some threads about how can i export/save part's or assembly's preview bitmap, but unfortunately all methods, except from the color's issues, they do not always work (sometimes the working SaveBMP, produces an error with HRESULT ). The CArchive one does not seems to work completely.

//ISldWorks VARIANT_BOOL retVal; CComBSTR fileName{L"C:\\test.SLDASM"}; CComBSTR conf{L"Default"}; CComBSTR