I’d like to run Rhino without displaying any GUI from a batch file.
In particular I’d like to:
run Rhino in background
execute a command from the Rhino command line
close Rhino
I found this documentation page Rhino - Running Rhino from the Command Line from witch I almost reached my goal using command: "C:\Program Files\Rhino 7\System\Rhino.exe" /runscript="-myCommand -exit" Test-0001.3dm
The problem is that each time I run this command the system spends lot of time opening and closing the Rhino GUI, that is useless from my point of view.
I suspect using schemas could help but I’m not sure about that, and it is not clear to me how to use them.
Hi Martin,
I developed a plugin capable to perform several analysis to the geometries contained into the Rhino document.
The command “myCommand”, is the one in charge to perform the required analysis and at the end it dumps the result on a .txt file.
I would like to create a regression test suit, which will run the command on different Rhino documents and will compare the results with the ground truth.
Of course my plugin is also capable to show the results on the Rhino GUI, but I don’t care about them during these type of test I’d like to automatise.