G
nged
BRL-CAD
BRL-CAD User Commands

# g

Creates a special type of combination often referred to as a group. This builds a combination by unioning together all the listed objects.

        g
         groupname
         objects

## DESCRIPTION

Creates a special type of combination often referred to as a group. This builds a combination by unioning together all the listed objects. If groupname already exists, then the list of objects will be unioned to the end of it. (Note that an existing groupname is not restricted to being a group; any combination is legal.) Other commands to build combinations are `c`, `r`, or `comb`.

## EXAMPLES

The example shows the use of the `g` command to create or extend a specified group by unioning it with specified objects.

### Create a group with a groupname and specified objects.

mged> `g shape1.nmg f`

  Creates or extends shape1.nmg by unioning in f.

## AUTHOR

BRL-CAD Team

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.