Your Ad Here

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

Synopsis

mute [-disable] [-force]

mute is undoable, queryable, and editable.

The mute command is used to disable and enable playback on a channel. When a channel is muted, it retains the value that it was at prior to being muted.

Flags

disable, force
Long name (short name) [argument types] Properties
-disable(-d) createqueryedit
Disable muting on the channels

In query mode, this flag needs a value.

-force(-f) query
Forceable disable of muting on the channels. If there are keys on the mute channel, the animation and mute node will both be removed. If this flag is not set, then mute nodes with animation will only be disable.

In query mode, this flag needs a value.


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

Return value


[string array] name of the mute node(s)

Keywords

mute, animation, channels

Related

setKeyframe

MEL examples

	// Mute playback of the ry channel of the sphere's ty
	//
	string $sph[] = `polySphere`;
    setKeyframe ($sph[0]+".translate");
    mute ($sph[0]+".translateY");
    // Disable muting on any muted attributes on the sphere
    //
    mute -disable $sph[0];
	

Return to Autodesk Index


Your Ad Here