Such sequence can be easily generated by the standard Roulette element. You need to set the value range just to numbers 1 and 2 and then change the occurrence frequencies for each of the number to 250. It can be done with the [Value Frequency] property on Roulette, as shown below:
With these settings a random sequence with 500 values in total will be generated.
Welcome to EventIDE Q&A forum where you can ask questions about EventIDE software and receive answers from other members of the community