View Full Version : Selection Range of Random Clones

06 June 2012, 04:35 PM
I want to have 30 clones out of 100 for example be written into the MoSelection Tag but in a random order. It's important that in the end there are exactly 30 clones in the MoSelection Tag. I tried to do that with xpresso but shuffling an array of Booles seem to be impossible without scripting :-)
Thanks in advance.

06 June 2012, 11:46 AM
A Python node using the random module seems to work okay. The XPresso tag has User Data for selection count and random seed. (

06 June 2012, 01:38 PM
Thanks very much David, you're a magician :-)

CGTalk Moderation
06 June 2012, 01:38 PM
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.