Random function

I have a question,how we have a function random with command :up-down ? i want te crear a rectangular surface with a division into 4 rectangles and one rectangle go up-down .

if you are scripting in python then just import random

and add value = random.random() and you get a value between 0 and 1.

Does that help?

humm could you explain more ?

It seem difficult to implement a rectangular in python non ?

Not really, but it depends on what you need. Maybe Grasshopper is a better approach for you.

Do you have anything scripted yet?
if so please post it.

And an example of input + desired result.
I’m logging off for a while so I can’t assist to day, but maybe someone else jumps in :slight_smile: