I am having trouble when outputting IFCs using the SolidWorks API.
swModel = (ModelDoc2)swApp.ActiveDoc;
swSlcMan = (SelectionMgr)swModel.SelectionManager;
int i = 0;
i = swSlcMan.GetSelectedObjectCount2(0);
swComponent = swSlcMan.GetSelectedObject6(i, 0);
boolstat = swModel.SaveAs3(@"C:\Desktop\IFC\TEST.ifc", 0, 0);
This Code works fine, however all other components become unsuppressed.
Is there a way to control the suppression of the components when being saved with the API?