pymel.core.rendering.soloMaterial¶
- soloMaterial(*args, **kwargs)¶
Shows a preview of a specified material node output attribute.
Flags:
Long Name / Short Name Argument Types Properties attr / a unicode The attr flag specifies a node attribute to solo. last / l bool Whether to solo the last material node and attribute. node / n unicode The node flag specifies the node to solo. unsolo / us bool Whether to remove soloing. Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.soloMaterial
Example:
- ::
import pymel.core as pm
pm.soloMaterial( node=”file1”, attr=”outAlpha” ) pm.soloMaterial( unsolo=True ) pm.soloMaterial( last=True )