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
Hi,
You can use Sldworks::GetActiveConfigurationName Method. This would give you the active configuration in the model without opening the model.
Hope it helps!!!
Rajat Jain