Hi Conner, I cannot reproduce the error you’re seeing. If you can e-mail me your .g file, I could look into that in more detail. I did notice that you’re using a version from a couple years ago. MGED is exiting because it encountered corrupted polygonal geometry unexpectedly.
That said, there’s several ways to get at what you’re wanting in addition to the regions command. There’s the idents command, which will produce an even more succinct file of all regions. The usage is identical to regions: idents file object Another command is the search command. It’s a very powerful and flexible command: Finding all regions in a .g file is done easily with: search . -type region Or to get a listing of all objects under a combination: search ./object -type region Or to get full path listings of all objects under a combination: search /object -type region Cheers! Sean > On Dec 3, 2021, at 11:38 AM, Dilgren, Connor <[email protected]> wrote: > > Hello, > > I would like to get a file that lists all of the regions contained within an > object. I’m trying to use the ‘regions’ command, as described in > https://brlcad.org/~nouhrasofat/mann/en/regions.php > <https://brlcad.org/~nouhrasofat/mann/en/regions.php> > > When I try to use it, I get this message: > > <image001.png> > > MGED then crashes after I hit ‘OK’. > > Am I using the command wrong, or is this a bug? Is there a different command > that I should be using to get a list of the regions contained within an > object? > > CONNOR DILGREN > Survivability Engineer | Bell > > Office: +1-817-280-2018 > Mobile: +1-832-683-6468 > > bellflight.com <http://www.bellflight.com/> > Follow Us @bellflight > > > <image004.png> > > If you received this transmission in error, please advise the sender by > immediate reply and destroy the original transmission and its attachments.
_______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
