“cmd.view” saves and restore camera views.
cmd.view(string key, string action)
def view(key, action='recall', animate=-1):
view | api