Reports information about the usage of the air_codes property
by regions in a .g file. Its default mode is to report which regions in a .g file
are using one or a range of region_id values. If a root object is specified, it
will report that result only for the regions in the tree of the root object.
If the U
is specified, the reporting is inverted and the command
will report the ranges of unused aircodes rather than the regions
using various aircodes.
The eac command will perform a similar search, but will draw the qualifying regions in the MGED display rather than listing them.
Report unused aircode ranges.
Limit reporting to regions in the CSG tree below objname.
For these examples the geometry file used is the standard m35.g included with BRL-CAD.
Example 1. Report all regions using air codes between 7 and 10.
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
Example 2. Report all unused aircode ranges in the database between 1 and 10.
mged>
whichair -U 1-10
Unused air codes:
1-3
5
9-10
Reports of bugs or problems should be submitted via electronic
mail to <devs@brlcad.org>