Welcome to SolidWorks Forums.
Not in front of SW or my pc (using my phone at the moment) but you may find this helpful
Basically you can show/activate the required config and then save the file as 3d PDF.
In case you're looking for something that will list the available configuration in a files then you may use the code from this macro DeleteSelectConfigs by Lenny.
DeleteSelectConfigs is a simple macro that displays a list of the current configurations in a SolidWorks model prior to deleting these configurations, except for the current configuration. The current configuration cannot be deleted. The name of the current configuration is displayed under the list of configurations. The user can then select the configurations that are to be deleted.
You might also find this post helpful for your future reference.
Hi Deepak Gupta, thanks for your help.
Unfornately I don't know the name of the current configuration (I must be as general as possible).
I need something like what I use when I change a quota value:
swDim.SetSystemValue3(value, (int)swInConfigurationOpts_e.swThisConfiguration, null);
I'll look through the macro you posted for something similar, after retrieving the current configuration.
EDIT: I think I've solved this way:
Is that correct? It seems to work.
What is your final need as current configuration is active config only. In case you need to get the name of current active config then yes
swModel.ConfigurationManager.ActiveConfiguration.Name will give you the name.