Rickson
(Rickson)
January 28, 2020, 1:12pm
2
I believe the idea is that multiple teams of people are working in those files. That said, i think i saw a thread recently where they described a similar process, granted i think it was hypothetical.
Still working on getting a super clean solution – but in the meantime, if you’re happy with an interim solution, you can see the code I’ve posted in this thread, which can be copy pasted into a new Rhino Command project in Visual Studio and adapted to your purpose:
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\Ru…
There’s a lot of things I don’t know, but happy still!
// Rolf
Hi Folks,
tl;dr:
I’m trying to make a script taking a list of rhino/grasshopper file pairs that will:
open the rhino file
open the grasshopper file (bake=True with bakename)
let the grasshopper file attach any number of worksession 3dm files
close the grasshopper file
save the rhino file with the new baked geometry (elefront replaces the old geometry with the same bakename
close rhino
repeat for the whole list
This process works fine without the step 3 (the worksession part), but it’s of l…