MGED Tcl Variables
The use of pathName in this document refers to the
Tcl/Tk pathname of a display manager window.
- local2base
- local2base specifies the
conversion factor that converts local units to base units (i.e.
millimeters).
- base2local
- base2local specifies the
conversion factor that converts base units (i.e. millimeters)
to local units.
- localunit
- localunit indicates the local
units.
- edit_class
- edit_class specifies the class
of edit that is in effect. For example, 0 signifies none, 1
signifies translation, 2 signifies rotation and 3 signifies
scale.
- edit_solid_flag
- edit_solid_flag specifies
the type of edit to perform on the solid being edited.
edit_solid_flag is linked to MGED's internal variable
es_edflag.
- edit_object_flag
- edit_object_flag
specifies the type of edit to perform on the object being
edited. edit_object_flag is linked to MGED's internal
variable edobj.
- edit_info
- edit_info contains detailed
information about the current solid/object being
edited.
- glob_compat_mode
- glob_compat_mode
indicates whether or not to perform globbing against the
database.
- mged_display(state)
- mged_display(state)
specifies the state of MGED. The state string will be one of
the six values listed below.
- VIEWING
- SOL PICK
- SOL EDIT
- OBJ PICK
- OBJ PATH
- OBJ EDIT
- mged_display(pathName,fps)
- mged_display(pathName,fps)
specifies the frames per second that MGED is able to
display.
- mged_display(pathName,aet)
- mged_display(pathName,aet)
specifies the current azimuth, elevation and twist for
pathName.
- mged_display(pathName,ang)
- mged_display(pathName,ang)
indicates the rates of view rotation.
- mged_display(pathName,center)
- mged_display(pathName,center)
indicates the view center.
- mged_display(pathName,size)
- mged_display(pathName,size)
indicates the view size.
- mged_display(pathName,adc)
- mged_display(pathName,adc)
specifies information about the angle distance cursor.
- mged_display(path_lhs)
- mged_display(path_lhs)
indicates the left hand side path.
- mged_display(path_rhs)
- mged_display(path_rhs)
indicates the right hand side path.
- mged_display(units)
- mged_display(units)
indicates the local units.
- mged_display(keypoint)
- mged_display(keypoint)
indicates the point from which edits will take place.
- mged_default(geom)
- mged_default(geom) is
used to specify the size and position of the command
window.
- mged_default(ggeom)
- mged_default(ggeom) is
used to specify the size and position of the geometry
window.
- mged_default(id)
- mged_default(id)
indicates the base id to use if the user didn't provide an id
to the gui command. For example, if
mged_default(id) is set to myId, then the following id's will
be created as needed: myId_0, myId_1, myId_2 etc.
- mged_default(pane)
- mged_default(pane)
indicates the initial active pane. The keywords, ul, ur, ll,
and lr are the only acceptable values. The keywords refer to
''upper left'', ''upper right'', ''lower left'' and ''lower
right'' respectively.
- mged_default(multi_pane)
- mged_default(multi_pane)
indicates whether to show four smaller geometry windows at the
same time or to show one larger geometry window.
- mged_default(config)
- mged_default(config)
indicates the initial configuration of the MGED GUI. A value of
''g'' indicates that only the geometry window is shown, ''c''
indicates that only the command window is shown, and ''b''
indicates that both the geometry and command windows are shown.
Note - this initial configuration specification only has affect
when the command window and geometry windows are combined
together in a single top level window. See the mged_default(comb)
variable.
- mged_default(display)
- mged_default(display) indicates
where to display the command window and other tools.
- mged_default(gdisplay)
- mged_default(gdisplay)
indicates where to display the geometry window if not combined
with the command window. See the mged_default(comb)
variable.
- mged_default(dm_type)
- mged_default(dm_type) indicates
the default display manager type.
- mged_default(comb)
- mged_default(comb)
indicates whether or not to combine the command window with the
geometry window in a single top level window.
- mged_default(edit_style)
- mged_default(edit_style)
indicates the initial edit style. The edit style determines the
behavior of command line editing. The two possible values are
''emacs'' and ''vi''.
- mged_default(num_lines)
- mged_default(num_lines)
indicates the number of lines to use in the command
window.
- mged_default(tearoff_menus)
- mged_default(tearoff_menus)
indicates whether or not to use tearoff menus. A tearoff menu
is one that has the ability to become a top level window. That
is, it can remain active and be placed anywhere on the
screen.
- mged_default(html_dir)
- mged_default(html_dir)
indicates the directory wherein to look for the MGED
manual.
- mged_default(web_browser)
- mged_default(web_browser)
indicates the web browser to use for viewing
documentation.