Open an USD file through command line

Is there any command line argument to open an usd file on start-up when launching issac-sim from linux terminal? Like there is one to select the ros_bridge extension?

Thank you!

Hi @ypatil,

You can run this command to open a usd file on start up:

`./isaac-sim.sh --exec “open_stage.py omniverse://path_to_usd_file.usd”

1 Like

Hi @Ayush_G
I tried this solution, It does work for the usd files that do not have an omnigraph,
For the USD files with Omnigraph, the files do open but just for a second, and then it goes back to new_stage.

Is there any flag to enable debug or more verbose printing to know what is causing this?

Thank you!

Hi @ypatil,
If you are still facing this issue, could you send the error or warning messages from Isaac Sim?

Hi @Ayush_G
The weird thing is there is no visible error or warning. Its just that it opens up the file and then goes back to new stage.