Difference between revisions of "MGED CMD tree"

From BRL-CAD
(0.0.115.1258.14j2.16.0....0...1.1.64.psy-ab..1.14.1096...0j0i10k1j0i22i30k1j0i22i10i30k1j33i160k1.0.QhVLctm65yE - "free falling song shes a good girl - Google Search")
m (Reverted edits by User000name (talk) to last revision by Ssd)
 
Line 2: Line 2:
 
[[category:MGED geometry information commands|Tree]]
 
[[category:MGED geometry information commands|Tree]]
 
=tree=
 
=tree=
'''tree''' is an [[MGED]] command.
 
 
__TOC__
 
__TOC__
  

Latest revision as of 16:40, 5 December 2017

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