版本要求：3ds Max 2016
Version Requirement: 3ds Max 2016
Randomize elements the easy way. Slow as hell with complex models (500k poly and more).
Installation: Copy the .ms file to your scripts\startup folder or run as a script if you only want to try it out. The modifier will be available in the Modifier List.
Notes: If you want to exit the Generate loop, hold the Esc key. When using Show Once update option and switching to baseobject/different modifier in stack and back, you have to click the Update button once again to show the randomization. Exercise caution when using this for complex meshes.
Credits: The original getMeshElements function comes from Jorge Rodríguez (aka PolyTools3D).