Help With Randomizing Placed Family Types

Hi All,

I’m having some difficulty finishing off my graph to randomize placed family types.

I figured I have to extract the type ID values of each into lists and somehow combine/randomize them before changing the family type.

Any help would be greatly appreciated.

Cheers,
Mark

Hi @Mark_James

here’s a suggestion :

1 Like

Thanks Mostafa, that works well - It’s a more elegant solution than my attempt.
How would I modify the graph to repeat the randomize process each time I select run?

Cheers,
Mark

Thats’s a good question … Unfortunately I don’t have a better response than copy paste the List.RandomElements

Try adding the “ForceChildrensEval” node from the “Prorubim DS Common Kit” package:

5 Likes

Thanks to both of you for your responses.
Dimitar, that _ForceChildrensEva_l node worked a treat!

Cheers,
Mark

Here is my new version for Revit 2023.1:

1 Like