Difference between revisions of "MGED CMD mvall"

From BRL-CAD
(document the -n option)
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:MGED]]
+
[[Category:MGED|Mvall]]
 
+
[[category:MGED object creation|Mvall]]
 
=mvall=
 
=mvall=
 
__TOC__
 
__TOC__
Line 24: Line 24:
  
 
==Description==
 
==Description==
The "mvall" command changes the name of old_name to new_name. This will also change any references to old_name that may appear in other combinations in the database. The [[MGED_CMD_mv|mv]] command will change an object’s name without changing references to it. The [[MGED_CMD_prefix|prefix]] command will also change the names and references of objects. If the ''-n'' option is provided, then no objects are renamed instead only reporting the objects that would be changed.
+
The "mvall" command changes the name of old_name to new_name. This will also change any references to old_name that may appear in other combinations in the database. The [[MGED_CMD_mv|mv]] command will change an object’s name without changing references to it. The [[MGED_CMD_prefix|prefix]] command will also change the names and references of objects.
 +
 
 +
If the ''-n'' option is provided, then no objects are renamed instead only reporting the objects that would be changed.
  
  

Latest revision as of 21:04, 30 November 2009

mvall[edit]

Syntax[edit]

mvall [-n] OldName NewName


Argument(s)[edit]

-n
No action option.
OldName
Object's old name.
NewName
Object's new name.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "mvall" command changes the name of old_name to new_name. This will also change any references to old_name that may appear in other combinations in the database. The mv command will change an object’s name without changing references to it. The prefix command will also change the names and references of objects.

If the -n option is provided, then no objects are renamed instead only reporting the objects that would be changed.


Example(s)[edit]

mged> mvall shapea shapeb
Change the name of shapea to shapeb everywhere it occurs in the database.


See Also[edit]

mv
prefix

Page Generated by David Loman on: 10/11/2007 at: 1:53:48 PM