RRT(nged)
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.
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.
mged> rrt echo
Lists the current database name and currently displayed objects.
COPYRIGHT
This software is Copyright (c) 1989-2021 by the United States Government as represented by U.S. Army Research Laboratory.
BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org