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?
Found 1 posts.
Search results Show results as topic list.
Houdini Learning Materials » random number in a switch ?
- Callmedude88
- 1 posts
- Offline
-
- Quick Links