Go to: Synopsis. Flags. Return value. Related. MEL examples.

Synopsis

viewClipPlane [-autoClipPlane] [-farClipPlane float] [-nearClipPlane float] [-surfacesOnly] [camera]

viewClipPlane is undoable, queryable, and editable.

The viewClipPlane command can be used to query or set a camera's clip planes. If a camera is not specified, the camera in the active view will be used. The near and far clip plane flags may be used in conjunction with the auto clip plane flag.

Flags

autoClipPlane, farClipPlane, nearClipPlane, surfacesOnly
Long name (short name) [argument types] Properties
-autoClipPlane(-acp) createquery
Compute the clip planes such that all object's in the camera's viewing frustum will be visible.

In query mode, this flag needs a value.

-surfacesOnly(-so) create
This flag is to be used in conjunction with the auto clip plane flag. Only the bounding boxes of surfaces will be used to compute the camera's clipping planes.
-nearClipPlane(-ncp) float createquery
Set or query the near clip plane.

In query mode, this flag needs a value.

-farClipPlane(-fcp) float createquery
Set or query the far clip plane.

In query mode, this flag needs a value.


Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Return value

None

Related

camera, cameraView, dolly, listCameras, lookThru, orbit, roll, track, tumble, viewCamera, viewFit, viewHeadOn, viewLookAt, viewPlace, viewSet

MEL examples

viewClipPlane -acp perspShape;

viewClipPlane -acp;

viewClipPlane -acp -ncp 3.0;

viewClipPlane -ncp 3.0cm;

viewClipPlane -q -ncp perspShape;