I add media to an RV session using this method:
commands.addSourceVerbose(string; string[] fileNames, string tag = nil)
This method returns the source node name which I use later to delete the node like so:
commands.deleteNode(void; string nodeName)
However, when I call deleteNode in this way, I get the following error:
exception: "invalid property name nil.request.imageComponent"
I want the result of my deletion to be the same as if I had right clicked the source node in the interface's session manager and selected "Delete View". How do I achieve this?
Thanks!