whichair [options ...] {air_codes}
WHICHAIR(nged)
NAME
whichair - Reports information relating to usage of air codes on regions.
On this page
SYNOPSIS
DESCRIPTION
Reports information about the usage of the air_codes property by regions in
a .g file. Its default mode is to report which regions are using one or more
specified air-code values or ranges. If a root object is specified, it reports
only for regions in that object’s tree. If -U or --unused is specified, the
report is inverted and the command lists unused air-code ranges instead.
The eac command will perform a similar search, but will draw the qualifying regions in the MGED display rather than listing them.
OPTIONS
- -h, -?, --help
-
Print help and exit.
- -s, --script
-
Use script-oriented output formatting.
- -V
-
List all active air codes even when no associated regions are found.
- -U, --unused
-
Report unused air-code ranges.
- --root objname
-
Limit reporting to regions in the CSG tree below objname.
EXAMPLES
For these examples the geometry file used is the standard m35.g included with BRL-CAD.
mged>whichair 7-10
Region[s] with air code 7: r11 r13 r15 Region[s] with air code 8: r25 r27 r29 r31 r33 r35
mged>whichair -U 1-10
Unused air codes: 1-3 5 9-10
SEE ALSO
search(nged)
AUTHOR
BRL-CAD Team
BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org