change active configuration without opening SolidWorks

Now i am troubled in changing the active configuration without opening SolidWorks. I think it may be worked with the help of SwDocumentManager API, but i have tried much . I still can not solve this problem. Can anybody help me ?SolidworksApi macros
Answers 1
SF
SF 2009-08-08 Best Answer

Unfortunally there is only get property SwDMConfigurationMgr::GetActiveConfigurationName and it seems you cannot set the configuration within the Document Manager.

As a workaround you can open the SolidWorks in invisible mode: SldWorks::Visible and switch the configuration within the regular SW APIs.