2 Replies Latest reply on May 6, 2016 10:58 PM by Sanya Shmidt

    Convert VBA to VB.NET BOM Table Feature

    Sanya Shmidt

      Hello Guys!

      Can someone help me to convert the following code to VB.net. Seems like it doesn`t understand what to do with items in bold:

      Original code was taken from : 2012 SOLIDWORKS API Help - Insert BOM Table Example (VBA)


              Set swBomFeat = swBomTable.BomFeature

              Names = swBomFeat.GetConfigurations(False, Visible)

              Visible(0) = True

              boolStatus = swBomFeat.SetConfigurations(True, Visible, Names)



      Thank you.