====== Automatic object creation ====== Whenever you enter an expression, Ecolego will parse it to discover which objects are referenced and which functions are used. If you use names of objects that do not exist in the model, a window will appear that let you quickly create them. {{:UnknownValuesFound.png|Screenshot}} The table that appears allow you to edit the following properties of the new objects: * **Name** - The [[Name|name]] of the new parameter. If you change the name given here, the equation that you typed will also change. * **Type** - The type of [[Block|block]] that you wish to create. By default, [[Parameter|parameter]] is chosen for you. * **Unit** - Enter the [[Units|unit]] of the new [[Block|block]]. * **Full name** - Enter the [[Full_name|full name]] of the block. * **Symbol** - Select a [[Symbol|symbol]] or use the default symbol generated from the block’s name. * **Sub-system** - choose a [[Sub-system|sub-system]] for the new block. * **Category** - choose a [[Category|category]] for the new block. * **Description** - Enter a [[editing_properties|description]] of the block. * **Value** - Enter the [[Default_value|default value]] of the block. Note that you can only enter the default value if the type of object is [[Parameter|parameter]]. * Index-list 1 - Displays the first dimension of parameters discovered in the database (see below). * Index-list 2 - Displays the second dimension of parameters discovered in the database (see below). * Template - Lets you choose a template from either the [[Glossary|glossary]] or from the [[Parameter_database_toolbox|parameter database]]. When you select a template, all information from the template is assigned to the new block. (see below). * Update glossary - If selected, the information provided is added as a new entry to the [[Glossary|glossary]]. ===== Parameter database ===== When the [[Parameter_database_toolbox|parameter database toolbox]] is installed, Ecolego will search for parameter instances in the database when an unknown name is used in an expression. If one or more instances with the given name are found in the database (case-sensitive) a database import icon appears in the first column. If several instances exist for the given name, a drop-down list will be available in the right-most “Database” column to select a specific instance. ===== See also ===== * [[Expression_editing_tool|Expression editing tool]] * [[Expression_syntax|Expression syntax]] * [[Glossary|Glossary]] * [[Parameter_database_toolbox|Parameter database toolbox]]