The following examples illustrate typical uses of savevars:
savevars "c:/all_vars.3m","*"
|
The above syntax saves all the variables to a file called all_vars.3m
savevars "myvars.3m","dave_*"
|
The above example saves all the variables that begin with "dave_" to a file called myvars.3m
savevars "d:/3d/types.3m","type_?_var"
|
This example saves the variables that begin with "type_?_var" to a file called types.3m in the folder d:/3d/.
savevars "c:/temp/myvars.3m","myvars_*"
|
Saves all the variables which that begin with "myvars_" in a file named myvars.3m, in the folder c:/temp.
It is often useful to save variables directly to a tag that is actually contained within the document, such as the autoexec tag. You can do this by saving variables to one of Arbortext APP's internal file areas. Beloew are three examples of this:
savevars "{0}autoexec.sc"*"pattern"
|
Overwrite or create a new autoexec tag.
savevars "{1}autoexec" "*"
|
Inserts at the top of autoexec.
savevars "{2}autoexec" "*"
|
Inserts at the end of autoexec.
|