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 revisionPrevious revision
Next revision
Previous revision
parameters [2018/05/09 20:39] dmitryparameters [2021/01/14 19:50] (current) dmitry
Line 1: Line 1:
 ===== Project parameters ===== ===== Project parameters =====
  
-Parameters can be used to parametrize 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. Value of a parameter is the same for all tables. Changing a parameter value doesn'automatically discard transformation results, but all new calculations will use the new value (where applicable).+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 moduleThe 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** +  * **Text or number** - text treated as a number if it looks like a number, or as a text value otherwise 
-  * **File name** - this parameter type is just like text parameter but for convenience the input box has buttons for opening file browser and triggering absolute/relative paths +  * **File path** - used to provide file location. It has helper buttons for opening the file browser and triggering absolute/relative paths. 
-  * **Date** - it'number parameter that supposed to indicate a date that can be chosen using a date picker (calendar) +  * **Folder name** - used to provide folder location. It has a helper button for opening the folder browser. 
-  * **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.+  * **Date** - used to specify a date that can be chosen using a date picker (calendar)
 +  * **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
 + 
 +=== Module overview === 
 +Besides the Parameter Editor, all module parameters can be viewed and edited in the "Module overview" sidebar. 
 + 
 +=== EasyMorph Launcher === 
 +[[https://easymorph.com/scheduler.html|EasyMorph Launcher]] allows creating and running tasks with the same project but with different parameter values. It can automatically prompt parameter values on every run.
  
-=== Full project runs === +=== EasyMorph Server === 
-All non-calculated parameters are prompted on full project runs -- i.ewhen running a project with all transformations not calculated (e.g. right after opening project) or when performing Reload and 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 defined from command line. Defining parameters is optional. If a parameter isn'defined then its default value is used. Calculated parameters can't be defined from command line. Also new parameters can't be created from command line. See [[command_line|command line syntax]] for more details.+Parameter values can be provided from the command line if needed. If a parameter value isn'provided, then 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 ===
-  * [[http://easymorph.com/learn/parameters.html|Turtorial: Parameters]]+  * [[https://easymorph.com/learn/parameters.html|Turtorial: Parameters]]
parameters.1525912780.txt.gz · Last modified: 2018/05/09 20:39 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki