MGED CMD rset
- This is a developer command.
[edit] Syntax
- rset [res_type [res [vals]]]
[edit] 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
[edit] Return Value(s)
- No Return Values for this command.
[edit] 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.
[edit] Example(s)
- 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
[edit] See Also
- No related commands.
Page Generated by David Loman on: 10/11/2007 at: 2:06:39 PM