KILLREFS nged BRL-CAD BRL-CAD User Commands
killrefs Removes all references to the specified objects from all combinations in the database.
`killrefs` -n objects

## DESCRIPTION

Removes all references to the specified objects from all combinations in the database. Note that the references are removed immediately unless the `-n` flag is passed. The `-n` flag causes the command to return a string of the objects that would be affected in a scriptable list format without actually editing them. See also the `killall` command.

Use this command with caution. Killed objects cannot be recovered so `keep` a backup.

## EXAMPLES

This example shows the use of the `killrefs` command to remove all references to the specified objects from the database.

Remove all references to the specified objects from the database.

mged> `killref group1`

  Removes all references to group1 from the database.

This example shows the use of the `killrefs` command to list all references to the specified objects in the database.

List all references to the specified objects in the database.

mged> `killref -n group1`

  Lists all references to group1 in the database.

## SEE ALSO

kill nged killtree nged

## AUTHOR

BRL-CAD Team

## BUG REPORTS

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