Difference between revisions of "MGED CMD dup"

(New page: Category:MGED =dup= __TOC__ ==Syntax== :dup file [prefix] ==Argument(s)== : '''file''' :: File to be checked against the current database : '''Prefix''' :: Optional. Prefix to be...)
 
 
Line 1: Line 1:
[[Category:MGED]]
+
[[Category:MGED|Dup]]
 
+
[[Category:MGED file operations|Dup]]
 
=dup=
 
=dup=
 
__TOC__
 
__TOC__

Latest revision as of 23:16, 3 January 2010

dup[edit]

Syntax[edit]

dup file [prefix]


Argument(s)[edit]

file
File to be checked against the current database
Prefix
Optional. Prefix to be prepended to each object name.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "dup" command checks the specified file (which is expected to contain a BRL-CAD model) for names that are the same as those in the current model. If a prefix is included on the command line, all names in the specified file will have that prefix added to their names before comparison with the current model. This command is often used prior to invoking the dbconcat command to ensure that there are no name clashes.


Example(s)[edit]

mged> dup other_model.g abc
Do the same check as above, but prefix all the names in other_model.g with abc before comparing with the names in the current model


See Also[edit]

dbconcat

Page Generated by David Loman on: 10/11/2007 at: 12:33:04 PM