Edits one or more nBase objects. Note that nBase objects include nCloth, nRigid and nParticle objects, but the options on this command do not currently apply to nParticle objects.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
clearCachedTextureMap (cct) | unicode | ||
Clear the cached texture map for the specified attribute from the nBase.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
clearStart (cs) | bool | ||
|
|||
stuffStart (ss) | bool | ||
|
|||
textureToVertex (ttv) | unicode | ||
|
Derived from mel command maya.cmds.nBase
Example:
import pymel.core as pm
import maya.cmds as cmds
# Stuff the current positions and velocities into nCloth1's startPositions and
# startVelocities.
#
pm.nBase( 'nCloth1', e=True, stuffStart=True )
# Clear nCloth1's startPositions and startVelocities.
#
pm.nBase( 'nCloth1', e=True, clearStart=True )
# Transfer the texture map data for the thicknessMap attribute into the
# thicknessPerVertex attribute.
#
pm.nBase( 'nCloth1', e=True, textureToVertex='thicknessMap' )