Select to view content in your preferred language

How to update different seeds of all selection object in Python scripts?

351
1
06-03-2022 09:53 PM
jerry_kk
Emerging Contributor

I can't update each selection with a different seed in a Python script. 

If I use setSelection() and then setSeed(), all the selections will have the same seeds and look similar, which is not what I want. 

If I use a loop structure, it's very slow.

I hope to get your answer!

0 Kudos
1 Reply
plfontes
Regular Contributor

Hi,

When you run the loop structure, are you using a decorator to avoid updating the UI after each loop?

best,

0 Kudos