Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to list all shading group node, the manuals said:
materials(mat) boolean
List materials or shading groups.
so my script is:
import maya.cmds as cmds cmds.ls(mat=True)
the result is:
# Result: [u'lambert1', u'particleCloud1', u'blinn2'] #
there is no SG node at all.
why??
Solved! Go to Solution.