How to change the value of distributed weighted constrained random generation

In reply to dave_59:

Thank you @Dave