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

Synopsis

sculptMeshCacheChangeCloneSource([blendShape=string], [target=string])

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

sculptMeshCacheChangeCloneSource is undoable, queryable, and editable.

This command changes the source blend shape and target for the clone target tool. Used internally for undo/redo, and should not be called directly.

Return value

None

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

Flags

blendShape, target
Long name (short name) Argument types Properties
blendShape(bs) string createqueryedit
Set which blend shape should be used as the source when using the clone tool. When queried, returns the current blend shape name as a string.
target(t) string createqueryedit
Set which blend shape should be used as the target when using the clone tool. When queried, returns the current blend shape target name as a string.

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.sculptMeshCacheChangeCloneSource( bs='blendShape1', t='pSphere4' )