Message 1 of 2
iLogic - Colour Parts in Assembly

Not applicable
02-08-2019
05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm looking to change the part appearances at assembly level via a excel spreadsheet.
The current code I've got works fine for a individual part. However, there is over 100 panels per assembly.
How do I make the code Loop/Catch/Map/For Each through the range of the 100+ excel entries?
TEST = GoExcel.CellValue("C:\Users\person\Documents\Book1.xlsx", "Sheet1", "C2")
TEST_2 = GoExcel.CellValue("C:\Users\person\Documents\Book1.xlsx", "Sheet1", "D2")
Component.Color(TEST & ":1") = TEST_2
TEST = Browser part name in assembly
TEST_2 = Colour/Appearance name required for assembly.
Cheers