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

Part Number Row Merge

Hi Guys

 

I have created the below rule (slowly getting this coding) and it works by added a part number to the "Merge Exclude List". What I cant work out now is how to add several numbers to this list. I can only have it enter 1 at a time. I need to add approx 200 via an array but I cant got it to work.

once I have this I would like to have the list read from an excel spreadsheet.

 

Cheers

Donald

 

SyntaxEditor Code Snippet

Dim oDoc As Document
oDoc = ThisDoc.Document
Dim oCD As AssemblyComponentDefinition
Dim oList As String
oList = "11111"
oCD = oDoc.ComponentDefinition
oBOM = oCD.BOM
oBOM.SetPartNumberMergeSettings(True,{oList})