Name

opendb — Closes the current database file and opens database.g.

Synopsis

opendb [database.g]

DESCRIPTION

Closes the current database file and opens database.g. If database.g is not found, the current database is left open. If database.g is not specified on the command line, the name of the current database file is returned.

EXAMPLES

The first example shows the use of the opendb command to close the current database file and open the one specified. The second example shows the use of the command with no database name, which returns the name of the current database file.

Example 1. Close the current database and open another one.

mged>opendb model.g

Closes the current database file and opens model.g.


Example 2. Return the name of the current database file.

mged>opendb

Returns the name of the current database file.


AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.