WHICH(nged)
alias for whichid; list regions using specified region identifier(s)
π WHICH (nged) β like, the find-my-regions era
okay bestie so you're in nged and you need to know which regions are rocking a specific region ID β that's literally the whole gig here. The which command lists all the regions that use the region_id(s) you give it. π
Real talk though: which is an alias for the whichid command, so if you ever see whichid floating around, it's the same icon. periodt.
You can drop ID numbers in one at a time, or hand over a whole range β like 100-200 β and it'll handle it no cap. π₯
β¨ SYNOPSIS β¨
which [options] region_id(s)
πΈ DESCRIPTION πΈ
The which command lists every region that uses the region_id(s) you specify. It's an alias for the whichid command, bestie β same vibe, different name. π«Ά
ID numbers can be given one by one, or as a range (e.g., 100-200). Easy.
π OPTIONS π
-s,--scriptβ switches to a space-separated output format that's way easier to parse in scripts. it's giving "made for your shell scripts" energy. π§-Vβ lists all active IDs in the given range, even if there aren't any associated regions found. like, it shows up regardless. iconic.-U,--unusedβ reports the unused IDs in the specified range. perfect for spotting the empty seats at the table. π--rootroot_name β searches only in the tree below the specified root_name. scope it, don't scope-creep it. π¦
π EXAMPLES π
Example 1. Basic usage of the which command.
mged> which 1000
Lists all the regions in the database that have a region ID of 1000. that's it. that's the whole slay. β
π AUTHOR π
BRL-CAD Team β the main characters behind all of this. π
π BUG REPORTS π
Found a bug? A problem? Something acting sus? Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. don't be shy, they want to know fr fr. π π
lowkey reminder: this page lives in theWHICH(nged)corner of the BRL-CAD docs β go be a good bestie and readwhichidtoo if you want the full lore. mwah π π β¨
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms