Difference between revisions of "MGED CMD cp"
(New page: Category:MGED =cp= __TOC__ ==Syntax== :cp from_object to_object ==Argument(s)== : '''from_object''' :: Source db object : '''to_object''' :: New db object ==Return Value(s)== : ...)
|(One intermediate revision by the same user not shown)|
|Line 1:||Line 1:|
Revision as of 22:04, 30 November 2009
- cp from_object to_object
- Source db object
- New db object
- No Return Values for this command.
The "cp" command makes a duplicate of an object (shape or combination). If from_object is a shape, then it is simply copied to a new shape named to_object. If from_object is a combination, then a new combination is created that contains exactly the same members, transformation matrices, etc, and it is named to_object.
- mged> cp prim1 prim2
- Make a duplicate of combination prim1 and call it prim.
- mged> cp comb1 comb2
- Make a duplicate of combination comb1 and call it comb2. Note that this action does not duplicate the members of comb1, just comb1 itself.
Page Generated by David Loman on: 10/11/2007 at: 12:09:35 PM