Hello,
In macros, all parameters are fixed — including the 'RandomSeed'. How can I use macros (including vary macros) with randomly distributed random seeds? I would like to use the entire valid range of RandomSeeds.
I am still using GeoDict2025.
Best regards
Mark
Hello Mark,
there are two ways to control the random seed value in your macros.
You can add a variable for the random seed and set its value when running the macro. This can either be a fixed value or a range of values using Vary.
Alternatively, you can let Python generate a random value for the random seed. For example, you can add the following to your macro:
import random
'RandomSeed': random.randint(0, 100000),
This way, a new random seed is used each time the macro is executed.
Best regards,
Jonas