killrefs — Removes all references to the specified objects from all combinations in the database.
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.
This example shows the use of the killrefs command to remove all references to the specified objects from the database.
Example 1. 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.
Example 2. List all references to the specified objects in the database.
mged>
killref -n group1
Lists all references to group1 in the database.
Reports of bugs or problems should be submitted via electronic
mail to <devs@brlcad.org>