Advertisement
yaotungyu

nhair set

Mar 3rd, 2021
820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.53 KB | None | 0 0
  1. cmds.deleteUI([a for a in cmds.lsUI(type='shelfLayout') if 'Button' in a])
  2.  
  3. for a in cmds.ls(type='hairSystem'):
  4.     cmds.setAttr(a+'.clumpWidthScale[0].clumpWidthScale_FloatValue',0)
  5.    
  6.     cmds.setAttr(a+'.clumpWidthScale[1].clumpWidthScale_FloatValue',0)
  7.    
  8.     cmds.setAttr(a+'.clumpWidthScale[2].clumpWidthScale_Position',0.5)
  9.     cmds.setAttr(a+'.clumpWidthScale[2].clumpWidthScale_FloatValue',0.5)
  10.     cmds.setAttr(a+'.clumpWidthScale[2].clumpWidthScale_Interp',3)
  11.    
  12.    
  13.    
  14.     cmds.setAttr(a+'.clumpWidth',3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement