viewSet is undoable, queryable, and editable.
This command positions the camera to one of the pre-defined
positions. If the fit flag is set in conjunction with persp, top,
side, or front; the view is "fit" based on the list of selected
objects (if there are any) or on all the objects if nothing is
selected. If a camera is not specified, the camera in the active
view will be used. If no flag is specified, the camera is set to
the home position.
In query mode, return type is based on queried flag.
Long name (short name) |
argument types |
Properties |
-persp(-p)
|
|
|
|
Moves the camera to the persp position.
|
|
-top(-top)
|
|
|
|
Moves the camera to the top position.
|
|
-bottom(-bo)
|
|
|
|
Moves the camera to the bottom position.
|
|
-rightSide(-rs)
|
|
|
|
Moves the camera to the right side position.
|
|
-leftSide(-ls)
|
|
|
|
Moves the camera to the left side position.
|
|
-side(-s)
|
|
|
|
Moves the camera to the (right) side position (deprecated).
|
|
-front(-f)
|
|
|
|
Moves the camera to the front position.
|
|
-back(-b)
|
|
|
|
Moves the camera to the back position.
|
|
-home(-h)
|
|
|
|
Executes the camera's home attribute command. Before the
string is executed, all occurances of "%camera" will be
replaced by the camera's name. Use the camera command to set a
camera's home command.
|
|
-previousView(-pv)
|
|
|
|
Moves the camera to the previous position.
|
|
-nextView(-nv)
|
|
|
|
Moves the camera to the next position.
-fit
Apply a viewFit after positioning camera to persp, top, side,
or front.
|
|
-fitFactor(-ff)
|
|
|
|
Specifies how much of the view should be filled with the "fitted" items
|
|