Skip to documentation
DocumentationAll documentsEnglish

KEEP(nged)

NAME

keep - Copies the _objects_ specified to the __keep_file__.

On this page

SYNOPSIS

keep [-R] {keep_file} {objects}

DESCRIPTION

Copies the objects specified to the keep_file. If keep_file does not exist, it is created. If keep_file does exist, the objects are appended to it. The keep_file is a BRL-CAD database file. The objects in the list must exist in the current database.

By default, keep recursively follows references below the named objects and writes the supporting geometry as needed. The -R option disables that recursive traversal and keeps only the named objects themselves.

EXAMPLES

The example shows the use of the keep command to copy specified objects to a designated file.

Example 1. Copy specified objects to a designated file.
mged> keep sample.g sample1 sample2

Creates sample.g file with objects sample1 and sample2 in it.

SEE ALSO

dump(nged)

AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org