AnsweredAssumed Answered

Convert VBA to VB.NET BOM Table Feature

Question asked by Sanya Shmidt on May 6, 2016
Latest reply on May 6, 2016 by 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.

Outcomes