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 | ||
|
|||
levelCamera (lc) | bool | ||
|
|||
minOpacity (mo) | float | ||
|
|||
restoreCenter (rc) | 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. |
|||
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)