view_func subcommand [args]
VIEW_FUNC(nged)
NAME
view_func - legacy view control multiplexer
On this page
SYNOPSIS
DESCRIPTION
The view_func command is a legacy multiplexer that provides access to various view control operations through a single entry point. It dispatches to separate view commands based on subcommand. In modern environments, view_func delegates entirely to the view command; in compatibility mode it dispatches using a built-in dispatch table.
This command exists primarily for backward compatibility with older MGED scripts. New scripts should use the individual commands directly or the view command.
Subcommands
| Subcommand | Equivalent / Action |
|---|---|
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to the legacy view object handler. |
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to |
|
Delegates to the view snap handler. |
|
Delegates to |
EXAMPLES
mged> view_func ae 35 25
Sets the view to azimuth 35°, elevation 25° — equivalent to aet 35 25.
mged> view_func center
Returns the current view center coordinates — equivalent to center.
SEE ALSO
view(nged), aet(nged), center(nged), eye(nged), quat(nged), size(nged), saveview(nged), ypr(nged)
AUTHOR
BRL-CAD Team
BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org