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

Synopsis

lookThru [-farClip double] [-nearClip double] [modelEditor] [object]

lookThru is undoable, queryable, and editable.

This command sets a particular camera to look through in a view. This command may also be used to view the negative z axis of lights or other DAG objects. The standard camera tools can then be used to place the object.

Note: if there are multiple objects under the transform selected, cameras and lights take precedence.

Flags

farClip, nearClip
Long name (short name) [argument types] Properties
-nearClip(-nc) double create
Used when setting near clip plane for a new look thru camera. Will not affect the attributes of an existing camera. Clip values must come before shape or view.
-farClip(-fc) double create
Used when setting clip far plane for a new look thru camera. Will not affect the attributes of an existing camera. Clip values must come before shape or view.

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, orbit, roll, track, tumble, viewCamera, viewClipPlane, viewFit, viewHeadOn, viewLookAt, viewPlace, viewSet

MEL examples

lookThru cameraShape1 topView;

lookThru -nc 100 -fc 200 perspView cameraShape1;

lookThru camera1;

lookThru -nc 0.001 -fc 5000.0 nurbsSphere1;

lookThru -q perspView;

lookThru -q;