Hi all I am looking for the python command to load the rv session(".rv") in rv
I can save using rv.commands.saveSession(file_path)
and I can open in a new rv session by using rv.commands.newSession(file_path)
but the thing I want is to open in the same session, I don’t mind clearing the existing session , please let me know If you guys have anything.
Thanks
Ajay
2 Likes
Sorry Guys, It was simple
rv.commands..addSource("file_path.rv")
rv.commands..addSources(["file_path.rv"])
rv.commands..addSourceVerbose(["file_path.rv"])
I was under the impression these are for RVFileSource ,
3 Likes
The addSource*
events do indeed go for all source inputs as well as rv session files. There’s a bit of a ‘is this a session file’ logic as it starts up.
1 Like
Yes Michael , but rv.commands.open(file_path.rv), would have made more sense
, as there is a open option in the file menu , any how I learned so many other things on the way as I was tying out nearly all the possible command available 
1 Like