Go to: Synopsis. Return value. Flags. Python examples.
deformableShape(
[objects...]
, [chain=boolean], [createOriginalGeometry=boolean], [frontOfChain=boolean], [localShapeInAttr=boolean], [localShapeOutAttr=boolean], [originalGeometry=boolean], [worldShapeOutAttr=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
deformableShape is undoable, NOT queryable, and NOT editable.
This command finds information about deforming shape(s).
If no shapes are specified on the command then the curently selected
shapes are used.
None
chain, createOriginalGeometry, frontOfChain, localShapeInAttr, localShapeOutAttr, originalGeometry, worldShapeOutAttr
Long name (short name) |
Argument types |
Properties |
|
chain(ch)
|
boolean
|
|
|
This flag will return the list of deformers that deformer the specified shapes
|
|
createOriginalGeometry(cog)
|
boolean
|
|
|
This creates an original geometry for the shape if it does not exist yet.
|
|
frontOfChain(foc)
|
boolean
|
|
|
This flag will return the plug at the front of the chain
|
|
localShapeInAttr(lsi)
|
boolean
|
|
|
Returns the name of local shape in attribute
|
|
localShapeOutAttr(lso)
|
boolean
|
|
|
Returns the name of local shape out attribute
|
|
originalGeometry(og)
|
boolean
|
|
|
This flag will return the name of the plug at the front end
of the chain that is the best candidate to be used as the originalGeometry
|
|
worldShapeOutAttr(wso)
|
boolean
|
|
|
Returns the name of world shape out attribute
|
|
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.
|
import maya.cmds as cmds
cmds.deformableShape('ball', cog=True)