Table of Contents

get_view

“get_view” returns and optionally prints out the current view information in a format which can be embedded into a command script and can be used in subsequent calls to “set_view”.

If a log file is currently open, get_view will not write the view matrix to the screen unless the “output” parameter is 2.

Usage

get_view [output]

Arguments

output = 0: output matrix to screen

output = 1: do not Output matrix to screen

output = 2: force output to screen even if log file is open

output = 3: return formatted string instead of a list

Notes

Contents of the view matrix:

The camera always looks down -Z with its +X left and its +Y down.

Therefore, in the default view, model +X is to the observer's right, +Y is upward, and +Z points toward the observer.

See Also

set_view | cmd.get_view | commands