select by material...

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  09 September 2003
Unhappy select by material...

Hello,

I've been using Max for a while now and I've finally decided that 'all those little things' I do over and over again could be made easier. So (perhaps foolishly) I've started to try and learn MaxScript.

Basically, the script I've been trying to create should select all materials with a certain name, change the attributes of that material - opacity/diffuse/self illumination (so far, not problem). However, I then want to select all the objects that do not have that material applied (sort of 'select by material/invert'), and apply one material to them all.

So far the closest I've gotten to selecting by material type is Macro Recording the ActionMan for that option, however it still requires me to manually press 'invert' then 'ok'.

Also - my (poor poor) script currently requires the material to be in the active slot, is there anyway to choose the active slot by the material name?

Please be gentle with me - I'm an idiot.
__________________
SKETCHBOOK
MDI
moonjam.com
 
  share thread



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 10:30 PM.


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