I made a scripting VI that creates a new VI and places a case structure on its block diagram. It then places down several subVIs inside of the True case (the purpose of this is to force Labview to load these subVIs into memory). I can save and exit - this is all fine.
The problem is that when I try to delete these subVIs off the block diagram. I can get a reference to this VI and its block diagram, but when I call the "All objects" or "subVIs" property, Labview doesn't return references to those subVIs - only the case structure and the terminal. Is it because they're located inside of the case structure? Even if from the case structure reference I still can't get a reference to those subVIs so that I can delete them. Does anyone know if I can do this?
Thanks in advance.