Darshan Hiranandani : How and Where to Run Python Scripts to Work with OpenRV Player API?

Hi everyone,

I’ve recently successfully built OpenRV and added the bin path to my user variables. When I use the rv command from the CLI, the RV Player opens, and I’m able to import a plate into the player without any issues.

However, I’m now trying to write and run a Python script to interact with the RV Player using its API. I’m unsure where and how I should run the Python script for it to work correctly with the player.

Could anyone guide me on:

  • Where exactly to write the .py script?
  • How to run it so that it interacts with the RV Player via the API?

Any help or suggestions would be greatly appreciated!

Thanks in advance,
Regards
Darshan Hiranandani

As far as I know you’ll need to create a package to run python scripts.
Some scripts can also be used to override default behaviour by placing them in the RV_SUPPORT_PATH.