MultiValue from Linked Excel spreadsheet

MultiValue from Linked Excel spreadsheet

Anonymous
Not applicable
821 Views
2 Replies
Message 1 of 3

MultiValue from Linked Excel spreadsheet

Anonymous
Not applicable

Hey All,

Is it possible to link a multivalue parameter to inventor from an excel spreadsheet?

0 Likes
Accepted solutions (1)
822 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Accepted solution

Yes, this is pretty easy to do, and using the standard iLogic snippets too

XLS = "C:\Temp\Excel.xlsx"

MultiValue.List("Name") = GoExcel.CellValues(XLS, "Sheet1", "A2", "A10")

In the code above, my user parameter is called "Name". Below is a picture of the Paramters as well as the Excel that the data was pulled from.

@ClintBrown3D Autodesk Inventor 190.png

Message 3 of 3

Anonymous
Not applicable

Awesome!!!

 

 

0 Likes