MGED CMD rset

From BRL-CAD

rset[edit]

This is a developer command.

Syntax[edit]

rset [res_type [res [vals]]]


Argument(s)[edit]

res_type
Axes(ax), Color Schemes(c), Grid(g), RubberBand(r) or MGED Variables(var)
res
Resource of specified res_type
vals
Value for specified res


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

Provides a mechanism to get/set resource values for the given resource types. The supported resource types are: ax (Axes), c (Color Schemes), g (Grid), r (Rubber Band), and var (MGED Variables). Basically, rset always gets a value unless enough information is given to set a value. For example, with no parameters, rset returns a list of all resource values for the supported resource types. If rset is executed with only the res_type given, a list of all resource values for the given res_type is returned.

Example(s)[edit]

mged> rset g
Grid
draw=0
snap=0
anchor=0,0,0
rh=1
rv=1
mrh=5
mrv=5
mged> rset g snap
0
mged> rset g snap 1
mged> rset g snap
1
mged> rset r
Rubber Band
draw=0
linewidth=0
linestyle=‘s’
pos=0,0
dim=0,0
mged> rset r draw
0
mged> rset r draw 1
mged> rset r draw
1

See Also[edit]

No related commands.



Page Generated by David Loman on: 10/11/2007 at: 2:06:39 PM