“cmd.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.
cmd.get_view(output=1, quiet=1)
def get_view(output=1, quiet=1):
get_view | cmd.set_view | api