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

Synopsis

skinBindCtx( string , [about=string], [axis=string], [colorRamp=string], [currentInfluence=int], [displayInactiveMode=int], [displayNormalized=boolean], [exists=boolean], [falloffCurve=string], [history=boolean], [image1=string], [image2=string], [image3=string], [name=string], [symmetry=boolean], [tolerance=float])

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

skinBindCtx is undoable, queryable, and editable.

This command creates a tool that can be used to edit volumes from an interactive bind.

Return value

string The name of the context created

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

Flags

about, axis, colorRamp, currentInfluence, displayInactiveMode, displayNormalized, exists, falloffCurve, history, image1, image2, image3, name, symmetry, tolerance
Long name (short name) Argument types Properties
exists(ex) boolean create
Returns true or false depending upon whether the specified object exists. Other flags are ignored.
image1(i1) string createqueryedit
image2(i2) string createqueryedit
image3(i3) string createqueryedit
Contexts support up to three icons that represent the tool associated with the context.
history(ch) boolean create
If this is a tool command, turn the construction history on for the tool in question.
name(n) string create
If this is a tool command, name the tool appropriately.
colorRamp(cr) string createqueryedit
Set the values on the color ramp used to display the weight values.
falloffCurve(fc) string createqueryedit
Set the values on the falloff curve control.
displayInactiveMode(di) int createqueryedit
Determines the display mode for drawing volumes that are not selected, in particular which volume cages if any are displayed. 0 - None 1 - Nearby volumes 2 - All volumes
displayNormalized(dn) boolean createqueryedit
Display raw select weights (false) or finalized normalized weights (true).
currentInfluence(ci) int createqueryedit
Set the index of the current influence or volume to be adjusted by the manipulator.
symmetry(s) boolean createqueryedit
Controls whether or not the tool operates in symmetric (mirrored) mode.
axis(ax) string createqueryedit
The mirror axis. Valid values are: "x","y", and "z".
about(a) string createqueryedit
The space in which the axis should be mirrored. Valid values are: "world" and "object".
tolerance(t) float createqueryedit
The tolerance setting for determining whether another influence is symmetric to the the current influence.

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.skinBindCtx( 'skinBindContext' )