WHATID(nged)
report the region identifier (ident) of a region
β¨ WHATID β like, the region-ID finder bestie π
okay so real talk, this is the nged command that tells you a region's ident (its region identifier number). It's giving "reverse lookup but make it cute" π
πΈ SYNOPSIS πΈ
whatid region
π DESCRIPTION π
So the whatid command hands you back the region identifier number (the ident) of whatever region you point at. You gotta give it exactly one region name β not zero, not two, exactly one, no cap. β¨
The object you name has to actually exist in the database, and it has to be a region β meaning a combination with the region flag set. If it's just some random non-region object, whatid is not the one for you, sorry bestie π
The result comes back as an integer. If the named object doesn't exist, or it exists but isn't a region, you get an error. That's the whole vibe check. π
Fun fact: this is the literal inverse of whichid, which takes a region ID and gives you back the regions that use it. They're giving complementary main character energy π
π₯ EXAMPLES π₯
Example 1. Get the region ID of a named region
mged> whatid hull.r
Returns the integer region ID assigned to hull.r β for example: 1001. Slay, that's your number π
Example 2. Use the result in a Tcl variable
mged> set id [whatid turret.r] mged> whichid $id
This grabs the region ID of turret.r into a variable, then uses whichid to verify which regions share that ID. Lowkey obsessed with this workflow, ngl π«Ά
π¦ SEE ALSO π¦
whichid(nged)whichair(nged)idents(nged)
π AUTHOR π
BRL-CAD Team β icons only, fr fr π
π BUG REPORTS π
Found a bug or a problem? Spill the tea via electronic mail to devs@brlcad.org π§ β they genuinely wanna hear it.
that's the whole page, bestie β¨π
π¦ β BRL-CAD's WHATID(nged) manual page, dated like the classic it is, brought to you with love by the one and only BRL-CAD crew π
π¦ 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