Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5835

Open and run Grasshopper from a Batch file

$
0
0

@tmanuel.inumlab wrote:

Hello!

I have an another question, I’d like to run my rhino and grasshopper file from a Batch file, my file Batch is:

@ECHO OFF
cd C:\Users\Calcul-port\Documents\Stage_2019\Rhino\Automatisation_Rhino_Script\Run
“C:\Program Files\Rhinoceros 5.0 (64-bit)\System\rhino.exe” /nosplash /runscript="-grasshopper editor load document open C:\Users\Calcul-port\Documents\Rhino\AutomatisationRhino_Script\Run\Random_Geometry.gh _enter" “C:\Users\Calcul-port\Documents\Rhino\Automatisation_Rhino_Script\Run\Random_Geometry.3dm”

the problem is is that my CMD window doesn’t close after the BAT runs and my files oppening well but empty, I Don’t know why, can you please help me!

And if necessary change some parameters before to run my Batch file, like I have two points from Grasshopper and I’d like to built two sphere from this points and change their parameter like radius or diameter from Batch file and run it, thanks.

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5835

Latest Images

Trending Articles



Latest Images