Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 23-06-2008, 01:39 PM   #1
sjtaylor84
Subscriber
 
sjtaylor84's Avatar
 
Join Date: Nov 2005
Location: England
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Question 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
sjtaylor84 is offline   Reply With Quote
Old 23-06-2008, 01:42 PM   #2
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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
Alan is offline   Reply With Quote
Old 23-06-2008, 01:49 PM   #3
sjtaylor84
Subscriber
 
sjtaylor84's Avatar
 
Join Date: Nov 2005
Location: England
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you!
__________________
www.simontayloranimation.com
sjtaylor84 is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch Rending Render Layers Ozgalis Lighting & Rendering 7 07-01-2011 07:04 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 11:56 PM
New Feature: Multiple Image Upload David Members Lounge 0 30-11-2010 09:40 PM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.