ViewNudgeLeft
 
 
 

ViewNudgeLeft

Introduced

v5.0

Description

Translate the selected objects to the left slightly in the given view.

Scripting Syntax

ViewNudgeLeft( [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: -1.0

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

Default Value: 0.0

Examples

VBScript Example

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

See Also

ViewTranslate ViewNudgeRight ViewNudgeUp ViewNudgeDown