Message 1 of 3
Easier way to group sets of objects using MEL

Not applicable
04-18-2018
09:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
New to MEL but I have a script that's generating 400 cubes named polyCube1 - polyCube400. I need to split them into groups every 20 cubes (so first group has polyCube1 - polyCube20 next group polyCube21 - polyCube 40 etc.) but so far the only way I've figured out how to do this is my selecting each individual cube from 1-20 with the select command then grouping them rinse repeat for all 400. Is there a better way to do this using some sort of loop?