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

Synopsis

walkCtx([crouchCount=float], [walkHeight=float], [walkSensitivity=float], [walkSpeed=float], [walkToolHud=boolean])

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

walkCtx is undoable, queryable, and editable.

This command can be used to create, edit, or query a walk context.

Return value

stringThe name of the context

In query mode, return type is based on queried flag.

Flags

crouchCount, walkHeight, walkSensitivity, walkSpeed, walkToolHud
Long name (short name) Argument types Properties
walkToolHud(wth) boolean createqueryedit
Control whether show walk tool HUD.
walkSpeed(ws) float createqueryedit
The camera move speed.
walkHeight(wh) float createqueryedit
The camera initial height.
walkSensitivity(wsv) float createqueryedit
The camera rotate sensitivity.
crouchCount(wcc) float createqueryedit
The camera crouch count.

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.

Python examples

import maya.cmds as cmds

cmds.walkCtx( 'walkContext', ws=2.0 )