PDA

View Full Version : selecting multiple objects by shader


Arcon
03-22-2006, 11:10 PM
i can select a single object by declaring a string and using the hypershade command, but how do i do this with a group of objects...? eg. i have about a hundred shaders all prefixed: m_ i want to script a way to select all objects with that shader and hide em. :)

thanks

Arcon
03-22-2006, 11:39 PM
random idiocy strikes again. i sussed it 10 seconds after posting, basicaly select -r "m_**", define the string etc and game on. :rolleyes:

thematt
03-23-2006, 08:07 AM
you could also loop to your shaders and use select -add..

cheers

CGTalk Moderation
03-23-2006, 08:07 AM
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.