pymel.core.general.sculptMeshCacheChangeCloneSource

sculptMeshCacheChangeCloneSource(*args, **kwargs)

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. In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
blendShape / bs unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  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 unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  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 have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.sculptMeshCacheChangeCloneSource

Example:

::

import pymel.core as pm

pm.sculptMeshCacheChangeCloneSource( bs=’blendShape1’, t=’pSphere4’ )