seven6ty
11-07-2005, 10:09 PM
Anyone know if it is possible to query a shader and see if it is applied to any objects in the scene? I couldn't find any MEL commands in the reference guide that would do this.
Basically, I just need to run a check to see if a specific shader is applied to any objects in the scene, and if it isn't, delete the shader... But I don't want to delete it if it is applied to anything.
Thanks!
Basically, I just need to run a check to see if a specific shader is applied to any objects in the scene, and if it isn't, delete the shader... But I don't want to delete it if it is applied to anything.
Thanks!
