Difference between revisions of "MGED CMD g"

From BRL-CAD
(New page: Category:MGED =g= __TOC__ ==Syntax== :g <I>GroupName</I> <<I>objects</I>> ==Argument(s)== : '''GroupName''' :: Name of the group to add <Objects> to. : '''<Objects>''' :: Li...)
 
(reword the object names in the example since .nmg could be confused with a primitive)
Line 25: Line 25:
  
 
==Example(s)==
 
==Example(s)==
: '''mged>''' g shape1.nmg f
+
: '''mged>''' g car engine.r
:: Create or extend shape1.nmg by unioning in f.
+
:: Create or append to the 'car' group by adding the 'engine.r' object.
 
 
  
 
==See Also==
 
==See Also==

Revision as of 14:18, 1 February 2009


g

Syntax

g GroupName <objects>


Argument(s)

GroupName
Name of the group to add <Objects> to.
<Objects>
List of objects to add to GroupName


Return Value(s)

No Return Values for this command.


Description

The "g" command 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.


Example(s)

mged> g car engine.r
Create or append to the 'car' group by adding the 'engine.r' object.

See Also

Creating Geometry
r
comb

Page Generated by David Loman on: 10/11/2007 at: 12:57:29 PM