Name

rrt — Executes the specified program with the provided options and includes the current database name and the list of currently displayed objects on the command line.

Synopsis

rrt {program} [options]

DESCRIPTION

Executes the specified program with the provided options and includes the current database name and the list of currently displayed objects on the command line. This command effectively executes:

program options database_name objects.

The rrt command also provides the current MGED viewing parameters to the program on standard input. Many BRL-CAD programs use the -M option to indicate that viewing parameters will be provided on standard input. The rt command can be simulated with rrt as:

rrt /usr/brlcad/bin/rt -M -s50

provided that perspective is not currently being used. Any executable routine may be run using rrt; however, it will always be run with the provided options followed by the current database name and the list of currently displayed objects.

EXAMPLES

The example shows the use of the rrt command to execute the specified program and list the current database name and currently displayed objects.

Example 1. Execute a specified program and list the current database name and currently displayed objects.

mged>rrt echo

Lists the current database name and currently displayed objects.


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.