2 Replies Latest reply on Feb 14, 2017 6:50 PM by Artem Taturevych

    EPDM disappears from Task pane

    Sanya Shmidt

      Hello!

       

      Not sure why this is happening. When I`m running my app that utilizes SW api, it opens the SW window but I don`t see the EPDM icon...

       

      no EPDM.JPG

      This is how task pane should look.

       

       

      EPDM.JPG

      The code looks normal...

       

      -----------------------------

      If swApp Is Nothing Then

                 swApp = CreateObject("SldWorks.Application")

             Else

                 swApp = GetObject("SldWorks.Application.23")

             End If

       

             ' Allow SolidWorks to run in the background and be invisible/invisible

             swApp.UserControl = True : swApp.Visible = True ' True - visible

       

             ' Opening assembly

             swModel = swApp.OpenDoc6(SWMasterModelSLDASM, swDocumentTypes_e.swDocASSEMBLY, swOpenDocOptions_e.swOpenDocOptions_ReadOnly, "", longstatus, longwarnings)

             swModel = swApp.ActiveDoc

       

             IsoZoom(swModel)

      ---------------------

       

      Any idea why? I cant even see the available plug in.

       

      addins no epdm.JPG

       

      When I start SW manually everything works just fine.