MGED CMD tree

From BRL-CAD
Revision as of 15:40, 5 December 2017 by Sean (talk | contribs) (Reverted edits by User000name (talk) to last revision by Ssd)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

tree[edit]

Syntax[edit]

tree [-c] [-i #] [-o outfile] object(s)


Argument(s)[edit]

-c
Do not print shapes.
-i #
Indent # spaces.
-o outfile
Target Output File
object(s)
One or more valid BRL-CAD Database Objects.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "tree"command will list the contents of the specified objects in a tree-like format that displays the hierarchical structure of the objects, and all objects referenced by them, down to the primitive shape level. If -c is given, the shapes are not printed. The -o outfile option prints the results to outfile. The -i # option allows the user to set the number of spaces to indent.


Example(s)[edit]

mged> tree group1
Show the structure of the tree rooted at group1 down to the primitive shape level.


mged> tree -i 2 group1
This time use two spaces for each level of indentation.


mged> tree -c group1
No shapes are printed.


See Also[edit]

No related commands.



Page Generated by David Loman on: 10/12/2007 at: 7:26:31 AM