Difference between revisions of "MGED CMD t"

From BRL-CAD
(New page: Category:MGED =t= __TOC__ ==Syntax== :''' t''' [''-a -c -r -s''] [''objects''] ==Argument(s)== : '''-a''' :: List all objects in the database. :'''-c''' :: List all non-hidden ...)
 
m
Line 1: Line 1:
[[Category:MGED]]
+
[[Category:MGED|T]]
  
 
=t=
 
=t=

Revision as of 11:15, 15 November 2009


t

Syntax

t [-a -c -r -s] [objects]


Argument(s)

-a
List all objects in the database.
-c
List all non-hidden combinations in the database.
-r
List all non-hidden regions in the database.
-s
List all non-hidden solids in the database.
objects
List of one or more valid BRL-CAD Database Objects, or regexps for matching.


Return Value(s)

List of matching objects in the database.


Description

The "t" command with no object argument lists the name of every object in the database (in alphabetical order) except those marked as hidden with the hide command. If the object argument is supplied, only those objects are listed. The object argument may include regular expressions for matching. The following options are also allowed:

a - list all objects in the database.
c - list all non-hidden combinations in the database.
r - list all non-hidden regions in the database.
s - list all non-hidden shapes in the database.

The t command is a synonym for the ls command. Note that when any of the above options is used, the output is not formatted.


Example(s)

mged> t shape*
List all objects with names beginning with "shape."

(output is formatted)


mged> t -a shape*
List all objects with names beginning with "shape."


mged> t -s wheel*
List all shapes with names beginning with "wheel."


mged> t -r wheel*
List all regions with names beginning with "wheel."


mged> t -c suspension*
List all combinations with names beginning with "suspension."



See Also

ls



Page Generated by David Loman on: 10/12/2007 at: 7:24:40 AM