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:toolcoding:subroutinepackage [2013/02/20 17:23] marcus.williams |
howtos:toolcoding:subroutinepackage [2013/02/20 17:26] marcus.williams |
||
---|---|---|---|
Line 13: | Line 13: | ||
===== Setup of installed files ===== | ===== Setup of installed files ===== | ||
- | Once you have extracted the files there are 4 files you must copy and adjust for your current model/version | + | Once you have extracted the files there are 3 files you must copy and adjust for your current model/version |
getModelVersion_CopyAndCustomize.t | getModelVersion_CopyAndCustomize.t | ||
Line 25: | Line 25: | ||
* copy this file and re-name it to: getProjectNames.t | * copy this file and re-name it to: getProjectNames.t | ||
* edit the file and adjust the project names | * edit the file and adjust the project names | ||
- | |||
- | getProjectExportPath.t | ||
- | * This subroutine will prepare for you a path with a project specific path (by reading getProjectNames.t above) for exporting data. | ||
- | * Given a root directory which you have to create it will make a sub-directory under that automatically for whatever project you choose | ||
- | * It will return a full path to that sub directory | ||
- | * Example for using it is in: views/subroutines/TemplateExamples/usingGetProjectExportPath.t | ||
informs_CopyAndCustomize.samm | informs_CopyAndCustomize.samm | ||
Line 36: | Line 30: | ||
* copy this file and rename it to: informs.samm | * copy this file and rename it to: informs.samm | ||
* edit the file and adjust the path to the subroutines directory in the "setpath" line of the file | * edit the file and adjust the path to the subroutines directory in the "setpath" line of the file | ||
+ | |||
===== Loading subroutines ===== | ===== Loading subroutines ===== |