API: Get last saved configuration name w/o opening the model

Hello there!

I'm searching for a way (in VBA) to get the name of the configuration the model was saved with without opening it.

Background: I try to get the preview bitmap (GetPreviewBitmap/ GetPreviewBitmapFile) of lots of models but need the name of the configuration of these models. They are different for most of the files.

value = instance.GetPreviewBitmap(FilePathName, ConfigName)

Thanks,

Jens

SolidworksApi/macros