MGED CMD cp
From BRL-CAD
Revision as of 19:24, 4 August 2020 by 184.100.222.104 (talk) (Just a missing character, and I totally didn't hide the word, "boobies.")
cp[edit]
Contents
Syntax[edit]
- cp from_object to_object
Argument(s)[edit]
- from_object
- Source db object
- to_object
- New db object
Return Value(s)[edit]
- No Return Values for this command.
Description[edit]
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.
Example(s)[edit]
- 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.
See Also[edit]
Page Generated by David Loman on: 10/11/2007 at: 12:09:35 PM