We have added a Simio add-in that will import a model (objects and links) from a spreadsheet. The most DLL, spreadsheet and code are provided in a later post.. NOTE: You do not need the code to run the add-in. All you need is the ImportObjectsAndLinksFromSpreadsheetAddInDLL_V5.zip and ImportObjectsAndLinks_v5.xlsx. The code is also provided in case you wish to make changes to the add-in.
You can run the addin just using the DLL and spreadsheet. All you need to unzip the DLL into C:\Users\<YOUR USERNAME>\Documents\SimioUserExtensions. You might need to add the SimioUserExtensions under MyDocuments (C:\Users\<YOUR USERNAME>\Documents) in case it does not already exist. Once you run the add-in in Simio, use the attached spreadsheet. It should create a Source, Server, Sink with an Entity and a Vehicle.
If you want to use the code, you will need to update the project properties..under build. The output path needs to be C:\Users\<YOUR USERNAME>\Documents\SimioUserExtensions...See attached screen shot.
Give it a try.
Let us know if you have any questions.
Updated 2106-10-24.....Added support for repeating properties and wrapped import using BulkUpdate method to speed up import .
You can run the addin just using the DLL and spreadsheet. All you need to unzip the DLL into C:\Users\<YOUR USERNAME>\Documents\SimioUserExtensions. You might need to add the SimioUserExtensions under MyDocuments (C:\Users\<YOUR USERNAME>\Documents) in case it does not already exist. Once you run the add-in in Simio, use the attached spreadsheet. It should create a Source, Server, Sink with an Entity and a Vehicle.
If you want to use the code, you will need to update the project properties..under build. The output path needs to be C:\Users\<YOUR USERNAME>\Documents\SimioUserExtensions...See attached screen shot.
Give it a try.
Let us know if you have any questions.
Updated 2106-10-24.....Added support for repeating properties and wrapped import using BulkUpdate method to speed up import .
Attachments
(13.02 KiB) Downloaded 352 times
(27.78 KiB) Downloaded 339 times
(14.53 KiB) Downloaded 341 times
Last edited by gtwirth on Wed Mar 13, 2013 11:40 am, edited 4 times in total.
Glen Wirth
Simio LLC
Simio LLC