MGED CMD status

From BRL-CAD


status[edit]

Syntax[edit]

status [subcommands]


Argument(s)[edit]

[subcommands]
Optional. Must be one of: state, Viewscale, base2local, local2base, toViewcenter, Viewrot, model2view, view2model, model2objview, objview2model, help.

Return Value(s)[edit]

Without a subcommand: Current state, view size of the current display manager, the conversion factor from local model units to the base units (mm) stored in the database, and the view matrices of the current display manager.


Description[edit]

Status accepts the following subcommands:

state
Get the current state of MGED (i.e., "VIEWING," "SOL PICK," "SOL EDIT," "OBJ PICK," "OBJ PATH," "OBJ EDIT," or "VERTPICK").
Viewscale
Get the view scale.
base2local
Get the conversion factor from base units (mm) to local units.
local2base
Get the conversion factor from local units to base units (mm).
toViewcenter
Get the matrix that describes the location of the view center.
Viewrot
Get the matrix that describes the view orientation.
model2view
Get the model to view conversion matrix.
view2model
Get the view to model conversion matrix.
model2objview
Get the model to view conversion matrix. This matrix also includes changes made during editing.
objview2model
Get the view to model conversion matrix. This matrix also includes changes made during editing.
help
Print the usage message.


Example(s)[edit]

mged> status
Get default information (i.e., state, view size, local2base, toViewcenter, Viewrot, model2view and view2model).
mged> status Viewrot
Get the view rotation matrix.
mged> status state
Get the edit state.


See Also[edit]

No related commands.



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