User Tools

Site Tools


parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
parameters [2019/03/13 21:30]
dmitry
parameters [2021/01/15 00:50] (current)
dmitry
Line 1: Line 1:
 ===== Project parameters ===== ===== Project parameters =====
  
-Parameters can be used to parameterize actions and expressions instead of file names in export/import actions and instead of constants in expressions (e.g. multipliers and ratios). See [[syntax:|expression syntax]] for using parameters in expressions.+Parameters can be used to parameterize actions and expressions instead of action properties such as file names in export/import actionsand instead of constants in expressions (e.g. multipliers and ratios). See [[syntax:|expression syntax]] for using parameters in expressions.
  
-Parameters are global for a project, which means that they are available for all tables. The value of a parameter is the same for all tables. Changing a parameter value automatically (if Auto-run is on) causes recalculation of all actions that use the parameter.+Also, parameters are used for arranging iterations (loops) and calling subroutines (e.g. other modules/projects). 
 + 
 +Parameters are global for a module, which means that they are available for all tables in that module. The value of a parameter is the same for all tables in a module. Changing a parameter value automatically (if Auto-run is on) causes recalculation of all actions that use the parameter.
  
 === Parameter editor === === Parameter editor ===
-Parameters can be created, edited and removed using parameter editor available from menu Project or invoked by pressing F6.+Parameters can be created, edited and removed using the Parameter Editor available from the menu "Projector invoked by pressing F6.
  
 === Parameter types === === Parameter types ===
 Parameters can be of several types: Parameters can be of several types:
-  * **Text or number** - the entered text treated as a number if it looks like a number, or as a text value otherwise +  * **Text or number** - text treated as a number if it looks like a number, or as a text value otherwise 
-  * **File path** - this parameter type can be used to provide a file location. It has buttons for opening the file browser and triggering absolute/relative paths. +  * **File path** - used to provide a file location. It has helper buttons for opening the file browser and triggering absolute/relative paths. 
-  * **Folder name** - this parameter type can be used to provide a folder location. It has a button for opening the folder browser. +  * **Folder name** - used to provide a folder location. It has a helper button for opening the folder browser. 
-  * **Date** - it's a number parameter that is supposed to indicate a date that can be chosen using a date picker (calendar) +  * **Date** - used to specify a date that can be chosen using a date picker (calendar)
-  * **Calculated parameter** can be calculated using [[syntax:start|expressions]]. Such expressions can refer to another parameters (calculated or not) but not to field names as parameters are global exist on the project level. Calculated parameters are evaluated automatically before running a project or calculating a transformation.+  * **Fixed list** - used to pick a value from a pre-defined fixed list. It appears as a combo-box. 
 +  * **Multiple choice** - used to pick one or several values from a pre-defined fixed list. It appears as a checklist. 
 +  * **Checkbox** - parameter appears as a checkbox and is used to pick one of two predefined values. 
 +  * **Calculated parameter** can be calculated using [[syntax:start|expressions]]. Such expressions can refer to other parameters (calculated or not) but not to field names because parameters are global and exist on the project level. Calculated parameters are evaluated automatically before running a project or calculating a transformation.
  
-=== Project overview === +=== Module overview === 
-Besides the Parameter editor, all parameters can be viewed and edited in the Project overview sidebar.+Besides the Parameter Editor, all module parameters can be viewed and edited in the "Module overviewsidebar.
  
 === EasyMorph Launcher === === EasyMorph Launcher ===
Line 23: Line 28:
  
 === EasyMorph Server === === EasyMorph Server ===
-[[https://easymorph.com/server.html|EasyMorph Server]] also allows running projects with a different set of parameter valuesor prompt parameter values on every run.+[[https://easymorph.com/server.html|EasyMorph Server]] also allows running projects with a different set of parameter values or prompt parameter values on every run.
  
 === Command line execution === === Command line execution ===
-Parameter values can be provided from the command lineif needed. If a parameter value isn't provided then its default value is used. Calculated parameters can't be defined from command line. See the [[command_line|command line syntax]] for more details.+Parameter values can be provided from the command line if needed. If a parameter value isn't providedthen its default value is used. Calculated parameters can't be defined from the command line. See the [[command_line|command line syntax]] for more details.
  
 === Read also === === Read also ===
   * [[https://easymorph.com/learn/parameters.html|Turtorial: Parameters]]   * [[https://easymorph.com/learn/parameters.html|Turtorial: Parameters]]
parameters.1552512616.txt.gz · Last modified: 2019/03/13 21:30 by dmitry