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

Synopsis

soloMaterial [-attr string] [-last] [-node string] [-unsolo]

soloMaterial is undoable, queryable, and NOT editable.

Shows a preview of a specified material node output attribute.

Return value

booleanSuccess or Failure

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

Keywords

solo, material, rendering, shaders

Flags

attr, last, node, unsolo
Long name (short name) Argument types Properties
-attr(-a) string createquery
The attr flag specifies a node attribute to solo.
-last(-l) createquery
Whether to solo the last material node and attribute.
-node(-n) string createquery
The node flag specifies the node to solo.
-unsolo(-us) createquery
Whether to remove soloing.

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

soloMaterial -node "file1" -attr "outAlpha"
soloMaterial -unsolo
soloMaterial -last