====== Importing index lists to Ecolego ====== When importing parameter values, the [[Index_list|index lists]] of the [[Model|model]] determine which data is imported. This means that if a model has three contaminants defined (Candy, Soda and Cigarettes) and the parameter //tooth_ache_factor// is imported, only values for Candy, Soda and Cigarettes will be imported even if the Material index list of the database also contain contaminants Rum, Gasoline and Gravel. It is also important that the [[index_list#Index|indices]] are spelled the same way in Ecolego and in the database/Excel. Therefore it is practical (and time saving) to import dependencies from the database or an Excel file rather than creating them manually. ===== Importing index lists ===== To import index lists from Excel, select **File|Import|Import Index-lists from Excel…** and select a file from which to import. To import index lists from a [[Parameter_database|parameter database]] (requires [[Parameter_database_toolbox|Parameter database toolbox]]), select **File|Import|Import Index-lists from Database…**. Index lists will be imported from the currently selected [[Project_(Parameter_database)|database project]]. ===== Import index list window ===== {{:ImportIndexListWindow.png}} On the left, all [[Index_list|index lists]]/[[Dependencies_(Parameter_database)|dependencies]] that are available for import are shown. Select lists and use the arrow buttons to move add them to the model. When an [[Index_list|index lists]] has been added, select the [[index_list#Index|indices]] to import by ticking the boxes next to the index names. ===== Finalizing the import ===== Click **Import** in the bottom of the window to import the dependences. ===== See also ===== * [[Importing_parameters_to_Ecolego|Importing parameters to Ecolego]] * [[Exporting_and_importing_data|Exporting and importing data]]