MGED CMD rset
From BRL-CAD
rset
- This is a developer command.
Contents
Syntax
- rset [res_type [res [vals]]]
Argument(s)
- 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)
- No Return Values for this command.
Description
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)
- mged> rset g
- Grid
- draw=0
- snap=0
- anchor=0,0,0
- rh=1
- rv=1
- mrh=5
- mrv=5
- Grid
- 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
- Rubber Band
- mged> rset r draw
- 0
- mged> rset r draw 1
- mged> rset r draw
- 1
See Also
- No related commands.
Page Generated by David Loman on: 10/11/2007 at: 2:06:39 PM