Your Ad Here

Go to: Synopsis. Flags. Return value. Python examples.

Synopsis

orbitCtx([localOrbit=boolean], [orbitScale=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

orbitCtx is undoable, queryable, and editable.

Create, edit, or query an orbit context.

Flags

localOrbit, orbitScale
Long name (short name) [argument types] Properties
orbitScale(os) boolean createqueryedit
In degrees of rotation per 100 pixels of cursor drag.

In query mode, this flag needs a value.

localOrbit(lo) boolean createqueryedit
Orbit around the camera's center of interest.

In query mode, this flag needs a value.


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 have multiple arguments, passed either as a tuple or a list.

Return value

None

Python examples

import maya.cmds as cmds

cmds.orbitCtx( 'orbitContext', os=30.0, lo=False )

  

Return to Autodesk Index


Your Ad Here