Go to: Synopsis. Return value. Flags. Python examples.
renderManip(
object
, [camera=[boolean, boolean, boolean, boolean, boolean]], [light=[boolean, boolean, boolean]], [spotLight=[boolean, boolean, boolean, boolean, boolean, boolean, boolean]], [state=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
renderManip is undoable, queryable, and editable.
This command creates manipulators for cameras or lights.None
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
camera(cam)
|
[boolean, boolean, boolean, boolean, boolean]
|
|
||
|
||||
light(lt)
|
[boolean, boolean, boolean]
|
|
||
|
||||
spotLight(slt)
|
[boolean, boolean, boolean, boolean, boolean, boolean, boolean]
|
|
||
|
||||
state(st)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds cmds.camera() cmds.renderManip( 'cameraShape1' ) cmds.renderManip( 'cameraShape1', e=True, st=True ) cmds.renderManip( 'cameraShape1', q=True, st=True )