Running entire UR Program/Script from URCap (no node tree needed?)


I have a URCap which reads lines from a .csv file. It is able to call java functions from the polyscope. However, it is kind of messy having it in the polyscope. Here’s a snippet:


My goal is to make it so that in the program node, the user is able to do all of their setups (what index to start reading from, what file to read from, etc.) and when they are done they can click a button that runs something similar to the code above.

I see this, but it seemed to be pretty slow for me since I have a lot of commands to send at once.