ViewNudgeUp

Introduced

v5.0

Categories

viewing

Description

Translate the selected objects up slightly in the given view.

Scripting Syntax

ViewNudgeUp( [View], [X], [Y] );

Parameters

Parameter Type Description
View Integer View

Default Value: -1 (current viewport)

Possible Values:

Description:

-1 Current viewport
0 Viewport A
1 Viewport B
2 Viewport C
3 Viewport D
X Double Units to nudge selection along the X-axis (positive values move the selection to the right; negative values move it to the left).

Default Value: 0.0

Y Double Units to nudge selection along the Y-axis (positive values move the selection up; negative values move it down).

Default Value: 1.0

Examples

VBScript Example

' Get the camera from View A
CreatePrim "Cone", "MeshSurface"
' Translate object upwards in the top view by a small amount in the top view
ViewNudgeUp

See Also

ViewTranslate ViewNudgeLeft ViewNudgeRight ViewNudgeDown