This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howtos:typical_initview [2010/05/26 14:32] shona.weldon |
howtos:typical_initview [2019/02/19 16:05] marcus.williams |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Prepare initialization views ====== | ====== Prepare initialization views ====== | ||
- | * **Null Scenario** - This is useful to put 0's in all your data just to get a first scenario | + | * **Null Scenario** - This is useful to put 0's in all your data just to get a first scenario which you can then evaluate history ins and outs |
- In Documenter choose menu item Samm/View Scripts/General | - In Documenter choose menu item Samm/View Scripts/General | ||
- click "control", "allCalculators", "variable list", and TOOL code | - click "control", "allCalculators", "variable list", and TOOL code | ||
- set the tool name to "assign" | - set the tool name to "assign" | ||
- | - Hit O.K and save the files in your cal/views directory call them nullScn.v and nullScn.t | + | - Hit O.K and save the files in your cal/views directory call them ''nullScn.v'' and ''nullScn.t'' |
- Edit the .t file and change all the "assign (...) to 0.0": | - Edit the .t file and change all the "assign (...) to 0.0": | ||
- | - first replace "[1]; )" with"" everywher to clean up part of the string | + | - first replace ''[1]; )'' with "" everywhere to clean up part of the string |
- | - The following search and replace regular expression for the search works well in edit pad. Use replace string 0 | + | - The following search and replace regular expression for the search works well in edit pad. Use replace string ''0'' |
- | <code> assign \([a-z|A-Z|0-9|_]*\[[a-z|A-Z|0-9|,|_|\-\>]*\] </code> | + | <code>assign \([a-z|A-Z|0-9|_]*\[[a-z|A-Z|0-9|,|_|\-\>|\+]*\]</code> |