Universal Robots Forum

Use a ProgramNode type for calling a script file

Hi Developers,

I need from my URCap to insert some defined scripts files in the Treenodes, but there is no scriptNode in the ProgramNode interface.
Is there a work around that?

Best Jens

Create a program node, and insert this as a placeholder.
Insert this at the relevant places.
Use the URCap Proprietary API to define the script it should add in its ScriptWriter.

You could optionally add a meaningful title and description in the node using the same API to tell the user what this node is doing.

Could you give a example on it?
Thanks

Best Jens

Yes, in this example: