Hello,
I have defined an "Height" attribute which has 3 specific values.
I want to create a stochastic rule that would give me 33% percent of each height when applied on buildings.
Could someone help me with managing this problem? I tried creating a 'case-else' rule on "height" but it doesn`t seems to be correct...
Eg.
@Range (Random="random", Floor1=5, Floor2=10, Floor3=15)
attr Height = "random"
Building -->
extrude(world.y, Height)
Mass
const function_Height =
case Height == "random" :
33% : 5
33% : 10
else : 15