Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

@donaldleigh,

 

Hoping that below iLogic code may help to set merge for more that one value.

Dim oDoc As Document
oDoc = ThisDoc.Document
Dim oCD As AssemblyComponentDefinition
Dim array(3) As String
array(0) = "11111"
array(1) = "22222"
array(2) = "33333"
oCD = oDoc.ComponentDefinition
oBOM = oCD.BOM
oBOM.SetPartNumberMergeSettings(True, array)

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network