|Back to RCL Command Index
||File name under which to save the view
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:
- set the domain using rcl_rigi_init to the same domain under which the view was saved
- execute rcl_load_rsf with the previously saved RSF graph file
- execute rcl_load_view with the previously saved view file
The viewName is the full file specification (including the directory path).
Errors are reported if the procedure is unable to open the output file or if the graph is corrupt.
# 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
Back to RCL Command Index