I'm trying to create a Solidworks Standalone Application. After many attempts, i can't seems to create a Solidworks instance. either it fails (error) or swApp is null.
static public SldWorks Connect2Solidworks()
SolidWorks.Interop.sldworks.SldWorks swApp= new SolidWorks.Interop.sldworks.SldWorks();
//SldWorks swApp = Activator.CreateInstance(Type.GetTypeFromProgID("SldWorks.Application")) as SldWorks;
//return Activator.CreateInstance(Type.GetTypeFromProgID("SldWorks.Application.24")) as SldWorks;
Make sure that your SOLIDWORKS interops are not embedded. Also check this article: Connect to SOLIDWORKS from Stand-Alone Application
Retrieving data ...