Metis Smart Modeling - Variables
From Metis Documentation
Line 23: | Line 23: | ||
== What is a variable? == | == What is a variable? == | ||
- | A variable is a symbolic name given to some quantity, for the purpose of allowing the name to be used independently of the information it represents. The scope of a variable is local to the model it is used in. On the other hand, its extend is limited to the Group of Rules its used as an input or output. The value linked to a variable may change during the execution of a model. | + | A variable is a symbolic name given to some quantity, for the purpose of allowing the name to be used independently of the information it represents. The scope of a variable is local to the [[Metis_Smart_Modeling_-_Models|model]] it is used in. On the other hand, its extend is limited to the Group of Rules its used as an input or output. The value linked to a variable may change during the execution of a [[Metis_Smart_Modeling_-_Models|model]]. |
[[File:MetisSmartModelingSCVariablesList.PNG|center|850x860px]] | [[File:MetisSmartModelingSCVariablesList.PNG|center|850x860px]] | ||
Line 74: | Line 74: | ||
A group of items represents a higher level than variables. It may contain variables, materials, and most importantly groups of items themselves. This higher level is very useful when assembling different types of variables. The value linked with a group of variable once used will be the addition of the values linked to its content. Meaning that if a group of items includes two different variables holding each 3 and 5 as values, the value of the group will be 8. | A group of items represents a higher level than variables. It may contain variables, materials, and most importantly groups of items themselves. This higher level is very useful when assembling different types of variables. The value linked with a group of variable once used will be the addition of the values linked to its content. Meaning that if a group of items includes two different variables holding each 3 and 5 as values, the value of the group will be 8. | ||
- | When used in a rule or model, it works the same way as a simple variable. The only difference is that the output of a rule (or add-on) cannot be applied on a group of items . The can only be used as input. | + | When used in a rule or [[Metis_Smart_Modeling_-_Models|model]], it works the same way as a simple variable. The only difference is that the output of a rule (or add-on) cannot be applied on a group of items . The can only be used as input. |
{| class="wikitable centre" width="90%" style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: grey;" | {| class="wikitable centre" width="90%" style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: grey;" | ||
Line 172: | Line 172: | ||
== Deleting a variable and group of items” == | == Deleting a variable and group of items” == | ||
- | In the “modeling” menu, make sure to select the “variables” sub-menu. Select the variable or group of items to be removed. Deletion of a variable can be done through the use of the DELETE button [[File:MetisSmartModelingDeleteButton.PNG|link=]]. When deleting a variable or a group of items, its reference in rules and/or mask will be lost. Thus it is very important to verify if the deleted object is used anywhere in a model. | + | In the “modeling” menu, make sure to select the “variables” sub-menu. Select the variable or group of items to be removed. Deletion of a variable can be done through the use of the DELETE button [[File:MetisSmartModelingDeleteButton.PNG|link=]]. When deleting a variable or a group of items, its reference in rules and/or mask will be lost. Thus it is very important to verify if the deleted object is used anywhere in a [[Metis_Smart_Modeling_-_Models|model]]. |