Introduction to Maya - Modeling Fundamentals Vol 1
This course will look at the fundamentals of modeling in Maya with an emphasis on creating good topology. We'll look at what makes a good model in Maya and why objects are modeled in the way they are.
# 1 23-06-2008 , 12:39 PM
sjtaylor84's Avatar
Subscriber
Join Date: Nov 2005
Location: England
Posts: 102

How to turn of render stats on multiple items?

Hi there,

I've just converted some paint effects flame to nurbs but want to turn off cast and receive shadows in the render stats. I don't really want to have to go through 600 pieces turning them off manually and shift selecting the lot and doing it doesn't work. Is there a way to do this?

Thanks in advance!
Simon


www.simontayloranimation.com
# 2 23-06-2008 , 12:42 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Select everything you want and then hit down on the keyboard to select the shape nodes (or just select the shape nodes straight away). Then run the following in the script editor.

Code:
for($s in `ls -sl`)
{
	setAttr ($s + ".receiveShadows") 0;
	setAttr ($s + ".castsShadows") 0;
}
Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 3 23-06-2008 , 12:49 PM
sjtaylor84's Avatar
Subscriber
Join Date: Nov 2005
Location: England
Posts: 102
Thank you!


www.simontayloranimation.com
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads