saveParameters - writes network or group parameters to a script file


    saveParameters <file-name> [-append] [<object> ...]


This command is used to save network parameter values to a file. Sourcing the parameter file will restore the values. Only writable fields are stored. If the -append flag is given, parameters will be appended to the file.

The object list is a list of container objects from which writable fields are to be stored. It is not a list of parameter names. If no objects are specified, all parameters in the network and each group are saved.


To store the parameters from groups 2 and 3 to the file foo.tcl:

    lens> saveParameters foo.tcl group(2) group(3)

To append just the network-level parameters to your network building file:

    lens> saveParam -a {}



Last modified: Mon Jun 8.33:59:51 EDT 1998