Mel access to the view cube manipulator. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
bottomLeft (bl) | bool | ||
|
|||
bottomRight (br) | bool | ||
|
|||
compassAngle (ca) | float | ||
|
|||
dragSnap (ds) | bool | ||
|
|||
drawCompass (dc) | bool | ||
|
|||
fitToView (ftv) | bool | ||
|
|||
frontParameters (fp) | unicode | ||
goDefault (gd) | bool | ||
goHome (gh) | bool | ||
homeParameters (hp) | unicode | ||
levelCamera (lc) | bool | ||
|
|||
minOpacity (mo) | float | ||
|
|||
namespace (ns) | unicode | ||
postCommand (p) | unicode | ||
preCommand (pr) | unicode | ||
preserveSceneUp (psu) | bool | ||
resetFront (rf) | bool | ||
resetHome (rh) | bool | ||
restoreCenter (rc) | bool | ||
|
|||
selectionLockParameters (slp) | unicode | ||
setFront (sf) | bool | ||
setHome (sh) | bool | ||
size (s) | unicode | ||
Set or query the size of the View Cube, which can be one of tiny, small, normal, largeor auto. When set to autothe View Cube will be automatically set to the size most appropriate for the view. |
|||
toggleSelectionLock (tsl) | bool | ||
topLeft (tl) | bool | ||
|
|||
topRight (tr) | bool | ||
|
|||
visible (v) | bool | ||
|
|||
zoomToFitScene (zf) | bool | ||
|
Derived from mel command maya.cmds.viewManip
Example:
import pymel.core as pm
#Position the view cube in the top left of the screen and set it to fully opaque
pm.viewManip(topLeft=True, minOpacity=1)