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:
This way, a new random seed is used each time the macro is executed.
Best regards,
Jonas
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:
Code Select
import random
'RandomSeed': random.randint(0, 100000),
This way, a new random seed is used each time the macro is executed.
Best regards,
Jonas
