12-21-2020, 07:14 PM
Hello,
I have a question regarding calling a program in API.
Below is a picture of what I have right now in the simulation (the .html file and .rdk file are also attached in this post):
There are two programs in this simulation, one is to pick the blue box (PickBlue) and the other is to pick the red box (PickRed). I want to create a user pop-up button where users can press either "blue" or "red", and after the user selected a color in the pop-up tab, then the corresponding program runs. I would like to ask if this is achievable? If so, how? My first idea is to use the API and call the program in, but I am not sure if this is the correct direction and also not sure how to do it with the API.
Thank you very much in advance!
I have a question regarding calling a program in API.
Below is a picture of what I have right now in the simulation (the .html file and .rdk file are also attached in this post):
There are two programs in this simulation, one is to pick the blue box (PickBlue) and the other is to pick the red box (PickRed). I want to create a user pop-up button where users can press either "blue" or "red", and after the user selected a color in the pop-up tab, then the corresponding program runs. I would like to ask if this is achievable? If so, how? My first idea is to use the API and call the program in, but I am not sure if this is the correct direction and also not sure how to do it with the API.
Thank you very much in advance!