## CameraRedo

### Introduced

v3.0

### Description

Repeats the last camera change in a viewport.
Note: Redo is only available after an Undo operation.

### Scripting Syntax

    CameraRedo( [View] );

### Parameters

Parameter | Type | Description
--- | --- | ---
View | Integer | View to redo Default Value: -1 (current viewport)
Possible Values: | Description:
-1 | Current viewport
0 | Viewport A
1 | Viewport B
2 | Viewport C
3 | Viewport D

### Examples

#### VBScript Example

    ' Create a Sphere primitive

    CreatePrim "Sphere", "NurbsSurface", "MySphere"

    ' ===============================================

    ' Perform a manual View Operation (ex Pan/Zoom/Orbit

    ' tool) on top View in Viewport "A", before

    ' calling the next command

    ' ===============================================

    ' Undo Last Camera change

    CameraUndo 0

    ' Redo Previous "Undo

    CameraRedo 0

### See Also

CameraUndo CameraReset