Notifications
Clear all

[Closed] [HELP] – Random Height/Width/Seed?

Hi everyone,
Ive never scripted in Max before and i’m trying to use a little bit of Maxscript in my University final project but im a little stuck at the moment. Essentially i’m trying to generate alot of slightly different cardboard boxes.
I want to randomise the width and height of the boxes between a given range
I also want to apply a shell modifier, a subdivision and a noise with a random seed.
I would like to be able to do this by pressing a button in a UI box and the clicking where the box should be placed.

I have tried a macro recording but whilst it works i end up with the original box without any modifiers alongside the noisy box and i cant figure out how to randomize the height, width and seed in the modifier stack.

Can anyone help me?

Thank you

Jack