AnsweredAssumed Answered

Stochastic Rule on Heigh

Question asked by ialixandroae on Oct 29, 2014
Latest reply on Oct 29, 2014 by CWilkins-esristaff



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...



@Range (Random="random", Floor1=5, Floor2=10, Floor3=15)

attr Height = "random"


Building -->

  extrude(world.y, Height)



const function_Height =

  case Height == "random" :

  33% : 5

  33% : 10

  else : 15