SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lighting & Rendering, Dynamics & Effects, Texturing / Lighting & Rendering / How to turn of render stats on multiple items?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 23-06-2008, 12: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, 12: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, 12: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
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

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

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.