I hope to specify the value of RandomSeed in the cga. I have tried to assign values to seedian and rand, but found that neither of them can cover the global random value.
I created fixed random values for each shape within the region. I hope to use these values to overwrite RandomSeed to maintain their consistency.
Hi @biaozeng,
you can set and read the Random Seed in CGA using the seedian shape attribute
print(seedian)
set(seedian, 2137)
print(seedian)
Please note: The seedian is equal to the Random Seed up to certain value, negative and very high positives Random Seed values are mapped to the allowed range in CGA.
Hope this helps.
Best,
Jonas
It cannot change this value.
You can't change any inspector values including the Random Seed from CGA. If you you wish to set it to a certain value you can do it in the Inspector by editing the value in the input field directly or you use python with ce.setSeed()