Go to: Synopsis. Return value. Keywords. Flags. MEL examples.

Synopsis

nBase [-clearCachedTextureMap string] [-clearStart] [-stuffStart] [-textureToVertex string]

nBase is undoable, queryable, and editable.

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.

Return value

booleanCommand result

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

Keywords

nBase

Flags

clearCachedTextureMap, clearStart, stuffStart, textureToVertex
Long name (short name) Argument types Properties
-clearCachedTextureMap(-cct) string createedit
Clear the cached texture map for the specified attribute from the nBase.
-clearStart(-cs) createedit
Indicates that start state should be cleared
-stuffStart(-ss) createedit
Indicates that current state should be stuffed into the start state
-textureToVertex(-ttv) string createedit
Transfer the texture map data for the specified attribute into the related per-vertex 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 be used more than once in a command.

MEL examples

// Stuff the current positions and velocities into nCloth1's startPositions and
// startVelocities.
//
nBase -e -stuffStart nCloth1;

// Clear nCloth1's startPositions and startVelocities.
//
nBase -e -clearStart nCloth1;

// Transfer the texture map data for the thicknessMap attribute into the
// thicknessPerVertex attribute.
//
nBase -e -textureToVertex thicknessMap nCloth1;