ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
RNRAJANI NAIR25/09/2024

Hi,

I have a SolidWorks(2024) add-in application (in C#) that extracts information about the assemblies/parts and sends it to my client app.

As part of this, I have to also extract thumbnails from the SW assembly and part files.

However, when trying to extract the thumbnails , I get an exception (as explained below

Please advise.

byte[] GetPreviewForModel(IModelDoc2 swModel, string swConfigName)

{

//swApp