Here is a quick overview and get started guide to ilogic. Here is a link to using ilogic message box and input boxes.
Below is a simple example with an explanation of how it works. Place it into a new internal ilogic rule. Create a multivalue user parameter of either text or number depending on the units called "iprop"
Save an excel workbook with name "iProperty" and place some values in Sheet1, Cells, A3 -A20.
Run the below rule
'Add the values to the parameter from the excel range
MultiValue.List("iprops") = GoExcel.CellValues("iProperty.xlsx", "Sheet1", "A3", "A20") 'Give the fulll filename of the file or the filename if the excel file is saved inb the same folder as this document
'Allow the user pick a value from the stored list( similar to the parameter drop down)
iprop = InputListBox("Pick One", MultiValue.List("iprops"), iprop, Title := "iProperties", ListName := "iprops")
'Set a custom iproperty to the selected value
iProperties.Value("Custom", "iprop") = iprop
'Give the value of custom iprop to a simple variable
Ans = iProperties.Value("Custom", "iprop")
'Show the value of the variable in a message box
MessageBox.Show(Ans, "Custom Property "iprop")
Any questions on that, feel free to ask away. No question is too trivial at the beginning of the road.
If this solved a problem, please click (accept) as solution.ââââ
Or if this helped you, please, click (like)ââ
Regards
Alan