Difference between revisions of "MGED CMD mvall"

From BRL-CAD
(New page: Category:MGED =mvall= __TOC__ ==Syntax== :mvall OldName NewName ==Argument(s)== : '''OldName''' :: Objects old name. : '''NewName''' :: Objects new name. ==Return Value(s)== : N...)
 
(document the -n option)
Line 5: Line 5:
  
 
==Syntax==
 
==Syntax==
:mvall OldName NewName
+
:mvall [-n] OldName NewName
  
  
 
==Argument(s)==
 
==Argument(s)==
 +
: '''-n'''
 +
:: No action option.
 +
 
: '''OldName'''
 
: '''OldName'''
:: Objects old name.
+
:: Object's old name.
  
 
: '''NewName'''
 
: '''NewName'''
:: Objects new name.
+
:: Object's new name.
  
  
Line 21: 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
+
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.
  
  

Revision as of 17:35, 14 September 2009


mvall

Syntax

mvall [-n] OldName NewName


Argument(s)

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


Return Value(s)

No Return Values for this command.


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 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)

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


See Also

mv
prefix

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