Maya for 代理选择

1 import maya.cmds as cmds
2 
3 getAllNodes = cmds.ls(type="RedshiftProxyMesh")#redshift
4 #getAllNodes = cmds.ls(type="aiStandIn")#arnold
5 for node in getAllNodes:
6     setAttr (node+'.objectIdMode',1)

 

posted @ 2022-03-26 04:47  CGRun  阅读(59)  评论(0编辑  收藏  举报