Description | ||
File name under which to save the view |
Description:
This procedure saves a file that describes the geometry and contents
of the graph windows on the screen. The view file must
directly correspond to an existing RSF graph file. It is always
safest to execute rcl_save_rsf
immediately before saving the view. When restoring a previously
saved view, follow these steps: 1) set the domain using rcl_rigi_init
to the same domain under which the view was saved, 2) execute
rcl_load_rsf with
the previously saved RSF graph file, and, 3) execute rcl_load_view
with the previously saved view file.
The viewName is the full file specification (including
the directory path).
Return Value:
None.
Exceptions:
Errors are reported if the procedure is unable to open the output
file or if the graph is corrupt.
Example:
# Save RSF and view files in the "userdb" subdirectory of # the data base directory given by the configuration # variable, "DBDIR." set dbdir [rcl_env_get DBDIR]/userdb rcl_save_rsf $dbdir/myview.rsf rcl_save_view $dbdir/myview.view