WHICH(nged)

alias for whichid; list regions using specified region identifier(s)

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… 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. πŸ’€
  • --root root_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 the WHICH(nged) corner of the BRL-CAD docs β€” go be a good bestie and read whichid too if you want the full lore. mwah πŸ’‹ πŸŽ€ ✨
πŸ“¦ where this page comes from