I can export my OpenStudio model with the OpenStudioApplication: File / Export / IDF. But I would like to do this from the command line (without running the simulation), is it possible? I can't find it on https://nrel.github.io/OpenStudio-user-documentation/reference/command_line_interface/ or when typing openstudio.exe --help or openstudio list_commands.
Oh, I could edit the OSM file to introduce something that would make the simulation instantly fail and then retrieve the IDF from the run directory, but this is a bit cumbersome, I guess there's a better way :)