Position Randomization

Hey friends,
In the code below, the position has an upper and lower boundary. Suppose I have 2 boundaries for each coordinate for example X from -2 to 8 and 14 to 18 how can I implement that? Please help if you have any idea

with rep.trigger.on_frame(num_frames=100]):

Modify the pose of all the distractors in the scene
with rep_distractor_group:
rep.modify.pose(position=rep.distribution.uniform((-6, -6, 0), (6, 12, 0)),
rotation=rep.distribution.uniform((0, 0, 0), (0, 0, 360)),
scale=rep.distribution.uniform(1, 1.5))

Thanks in advance

The best way to do this is to probably use scatter2d, with two volumes determining the areas to populate the distractors. Check out this documentation on how you might go about that:

https://docs.omniverse.nvidia.com/extensions/latest/ext_replicator/advanced_scattering.html

Thank you so much for the response