CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 02-22-2013, 06:06 AM   #1
CoolmoeDee
Veteran
 
CoolmoeDee's Avatar
Blusteele
Animator
Australia
 
Join Date: Apr 2003
Posts: 53
MEL newbie - select shaders

Hi All,

I'm pretty new to mel, I was wondering how I would go about scripting something like this?

I'm trying to write a script that'll select the top node of a bunch of referenced character rigs, find the shaders that are attached to that character and then select the file node of that shader and adjust the file node attrs like Alpha gain.

I can't figure out the bit where the script get's the shaders file node that are attached to the model geo from the character rigs.

Any help is much appreciated.

Thanks.
 
Old 02-22-2013, 07:37 AM   #2
kosingcg
Tatlong Dimension
 
kosingcg's Avatar
portfolio
Oliver Magno
Render TD
MPC - Montreal
Canada
 
Join Date: Feb 2013
Posts: 88
Quote:
Originally Posted by CoolmoeDee
Hi All,

I'm pretty new to mel, I was wondering how I would go about scripting something like this?

I'm trying to write a script that'll select the top node of a bunch of referenced character rigs, find the shaders that are attached to that character and then select the file node of that shader and adjust the file node attrs like Alpha gain.

I can't figure out the bit where the script get's the shaders file node that are attached to the model geo from the character rigs.

Any help is much appreciated.

Thanks.


This will give you an idea. B.Ewert page
 
Old 02-22-2013, 02:44 PM   #3
rgkovach123
Know-it-All
robert
austin, USA
 
Join Date: Nov 2006
Posts: 364
there are lots of threads on this topic in this forum.
try a search.
 
Old 02-26-2013, 10:55 AM   #4
CoolmoeDee
Veteran
 
CoolmoeDee's Avatar
Blusteele
Animator
Australia
 
Join Date: Apr 2003
Posts: 53
Thanks guys. almost got this going.
 
Old 02-26-2013, 10:55 AM   #5
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 03:16 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.