01-24-2022, 05:56 PM
Is it possible to create a trace with the Spray macro that includes particles of different colors?
So I want to have different colored particles on a surface at the same time, but all I was able to do is clearing the already existing Trace (which is for example contains red particles) and then start an other with a different color.
The script should be able to read the needed color from the station parameters while the main program is running, which I thought would be easy but even if it reads the color using RDK.getParam the color of the shapes do not change while running. Only if I stop the script, delete the trace and start it over.
Tried creating sub programs for each color but apparently those are using the exact same color that the first one did, also continuing the same Trace.
The outcome should look similar to this drawing example but with simpler, sphere-like particles.
So I want to have different colored particles on a surface at the same time, but all I was able to do is clearing the already existing Trace (which is for example contains red particles) and then start an other with a different color.
The script should be able to read the needed color from the station parameters while the main program is running, which I thought would be easy but even if it reads the color using RDK.getParam the color of the shapes do not change while running. Only if I stop the script, delete the trace and start it over.
Tried creating sub programs for each color but apparently those are using the exact same color that the first one did, also continuing the same Trace.
The outcome should look similar to this drawing example but with simpler, sphere-like particles.