View Full Version : Mass texture reference script


tbone123
09 September 2007, 11:48 PM
I was wondering if anyone could help me out with a simple script that would create texture reference objects for everything selected. I have 2000 objects and I am really trying to avoid doing them individually.

tbone123
09 September 2007, 12:32 AM
Here is what I have been toying with, but can't get it to do anything



global proc bgMassTexRef() { string $selectedObjects[] = `ls -sl`; for ($object in $selectedObjects) { select -r $object; CreateTextureReferenceObject; } select -cl;}

CGTalk Moderation
09 September 2007, 12:32 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.


1