Brandon McCartney
Callmedude88
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
random number in a switch ? March 27, 2018, 3:43 p.m.
I'm new to houdini and expressions in general, but found this formula to work for one of my switches…
round(rand($F* 0.1)*3)
… if you have more than 4 switch connection, say you have 15, then you could change the formula to this…
round(rand($F* 0.1)*14)
This expression allows for random whole numbers from 0 to 14. A total of 15.
Cheers?
round(rand($F* 0.1)*3)
… if you have more than 4 switch connection, say you have 15, then you could change the formula to this…
round(rand($F* 0.1)*14)
This expression allows for random whole numbers from 0 to 14. A total of 15.
Cheers?