Hi Arek,
I've done it for Ribs 1 and 2 - you should be able to set it up for the rest:
Sub Main
'Select number of ribs
If RIBS = "1" Then
Component.IsActive("Gusset Plate 1") = True
Component.IsActive("Gusset Plate 2") = False
Component.IsActive("Gusset Plate 2 Mirror") = False
Component.IsActive("Gusset Plate 3") = False
Component.IsActive("Gusset Plate 3 Mirror") = False
SuppressWeldBeads( _
New List(Of String)(New String(){"Gusset Plate 2-A", "Gusset Plate 2-B", "Gusset Plate 2-C"}), _
New List(Of String)(New String(){"Gusset Plate 1-A", "Gusset Plate 1-B", "Gusset Plate 1-C"}))
RIBS_ADJUSTMENT = False
Else If RIBS = "2" Then
Component.IsActive("Gusset Plate 1") = False
Component.IsActive("Gusset Plate 2") = True
Component.IsActive("Gusset Plate 2 Mirror") = True
Component.IsActive("Gusset Plate 3") = False
Component.IsActive("Gusset Plate 3 Mirror") = False
SuppressWeldBeads( _
New List(Of String)(New String(){"Gusset Plate 1-A", "Gusset Plate 1-B", "Gusset Plate 1-C"}), _
New List(Of String)(New String(){"Gusset Plate 2-A", "Gusset Plate 2-B", "Gusset Plate 2-C"}))
RIBS_ADJUSTMENT = False
Else If RIBS = "3" Then
Component.IsActive("Gusset Plate 1") = True
Component.IsActive("Gusset Plate 2") = True
Component.IsActive("Gusset Plate 2 Mirror") = True
Component.IsActive("Gusset Plate 3") = False
Component.IsActive("Gusset Plate 3 Mirror") = False
RIBS_ADJUSTMENT = False
Else If RIBS = "4" Then
Component.IsActive("Gusset Plate 1") = False
Component.IsActive("Gusset Plate 2") = True
Component.IsActive("Gusset Plate 2 Mirror") = True
Component.IsActive("Gusset Plate 3") = True
Component.IsActive("Gusset Plate 3 Mirror") = True
RIBS_ADJUSTMENT = True
Else If RIBS = "5" Then
Component.IsActive("Gusset Plate 1") = True
Component.IsActive("Gusset Plate 2") = True
Component.IsActive("Gusset Plate 2 Mirror") = True
Component.IsActive("Gusset Plate 3") = True
Component.IsActive("Gusset Plate 3 Mirror") = True
RIBS_ADJUSTMENT = True
End If
'Sets rib thickness
Parameter("Gusset Plate 1", "RIB_THK") = RIB_THK
Parameter("Gusset Plate 2", "RIB_THK") = RIB_THK
Parameter("Gusset Plate 3", "RIB_THK") = RIB_THK
End Sub
Sub SuppressBead( _
wcd As WeldmentComponentDefinition, _
wbn As BrowserNode, _
unsuppress As Boolean)
Dim name As String
name = wbn.BrowserNodeDefinition.Label
' If the bead is already suppressed then its BeadFaces will be 0
If (wcd.Welds.WeldBeads(name).BeadFaces.count = 0) <> unsuppress Then Exit Sub
' Get the CommandManager object
Dim cm As CommandManager
cm = ThisApplication.CommandManager
' Get the collection of control definitions
Dim cds As ControlDefinitions
cds = cm.ControlDefinitions
' Run the "Suppress" command
ThisApplication.SilentOperation = True
Call wbn.DoSelect
'MsgBox(name)
Call cds("AssemblySuppressFeatureCtxCmd").Execute2(True)
ThisApplication.SilentOperation = False
End Sub
' weldNamesS - to suppress
' weldNamesU - to unsuppress
Sub SuppressWeldBeads(weldNamesS As List(Of String), weldNamesU As List(Of String))
' Get document
Dim doc As AssemblyDocument
doc = ThisApplication.ActiveDocument
Dim wcd As WeldmentComponentDefinition
wcd = doc.ComponentDefinition
' Get "Model" browser
Dim bp As BrowserPane
bp = doc.BrowserPanes("AmBrowserArrangement")
' Get "Welds" node
Dim wbn As BrowserNode
For Each wbn In bp.TopNode.BrowserNodes
If wbn.BrowserNodeDefinition.Label = "Welds" Then
Exit For
End If
Next
' Get "Beads" node
Dim bbn As BrowserNode
For Each bbn In wbn.BrowserNodes
If bbn.BrowserNodeDefinition.Label = "Beads" Then
Exit For
End If
Next
' Get the Beads we want to suppress/unsuppress
For Each wbn In bbn.BrowserNodes
If weldNamesS.Contains(wbn.BrowserNodeDefinition.Label) Then
Call SuppressBead(wcd, wbn, False)
ElseIf weldNamesU.Contains(wbn.BrowserNodeDefinition.Label) Then
Call SuppressBead(wcd, wbn, True)
End If
Next
End Sub
Attached is the modified assembly.
Cheers,

Adam Nagy
Autodesk Platform Services