MGED CMD cp
- 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 prim2.
- 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