Difference between revisions of "MGED CMD edcodes"
From BRL-CAD
(New page: Category:MGED =edcodes= __TOC__ ==Syntax== :edcodes <objects> ==Argument(s)== : '''<objects>''' :: DB Object List ==Return Value(s)== : No Return Values for this command. ...) |
(document the -n option) |
||
Line 5: | Line 5: | ||
==Syntax== | ==Syntax== | ||
− | :edcodes <objects> | + | :edcodes [-n] <objects> |
==Argument(s)== | ==Argument(s)== | ||
+ | : '''-n''' | ||
+ | :: No action option. | ||
+ | |||
: '''<objects>''' | : '''<objects>''' | ||
:: DB Object List | :: DB Object List | ||
Line 19: | Line 22: | ||
==Description== | ==Description== | ||
The "edcodes" command puts the user into an editor to edit a file that has been filled with the ident, air code, material code, LOS, and name of all the regions in the specified objects. The user may then modify the entries (except for the names). The editor used is whatever the user has set in the environment variable EDITOR. If EDITOR is not set, then /bin/ed is used. | The "edcodes" command puts the user into an editor to edit a file that has been filled with the ident, air code, material code, LOS, and name of all the regions in the specified objects. The user may then modify the entries (except for the names). The editor used is whatever the user has set in the environment variable EDITOR. If EDITOR is not set, then /bin/ed is used. | ||
+ | |||
+ | If the ''-n'' option is provided, then no objects are renamed instead only reporting the objects that would be changed. | ||
+ | |||
Revision as of 16:40, 14 September 2009
edcodes
Contents
Syntax
- edcodes [-n] <objects>
Argument(s)
- -n
- No action option.
- <objects>
- DB Object List
Return Value(s)
- No Return Values for this command.
Description
The "edcodes" command puts the user into an editor to edit a file that has been filled with the ident, air code, material code, LOS, and name of all the regions in the specified objects. The user may then modify the entries (except for the names). The editor used is whatever the user has set in the environment variable EDITOR. If EDITOR is not set, then /bin/ed is used.
If the -n option is provided, then no objects are renamed instead only reporting the objects that would be changed.
Example(s)
- mged> edcodes object1 object2
- Edit the region codes for all regions below object1 and object2.
See Also
- No related commands.
Page Generated by David Loman on: 10/11/2007 at: 12:37:34 PM