XM Magdalena 3D print, GGeorgy (3D)
LC #42 Pipers Alley

View Full Version : container MEL

10-30-2010, 08:15 PM
Just a quick question, when I have a number of different objects selected (say, in the hypershade for example), and I want to put them all in a container together using MEL, how would I do that?

In other words, what's the MEL script for adding a group of selected objects into a container?

10-31-2010, 02:07 PM
Use the container command. This should probably do the trick (I can't test it right now, but it ought to work):

container -addNode `ls -sl`;

/ Daniel

11-02-2010, 01:56 AM
It worked, thank you kindly!

CGTalk Moderation
11-02-2010, 01:56 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.