This content has been marked as final. Show 2 replies
Please try declaring Visible as a regular object. The variant type is specific to VBA implementation, the equivalent in VB.net is simply object.
Dim Visible as Object swBomFeat = swBomTable.BomFeature Names = swBomFeat.GetConfigurations(False, Visible) Visible(0) = True boolStatus = swBomFeat.SetConfigurations(True, Visible, Names)
Hope this helps,
Thank you Filipe!