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

Translating batch script into powershell

$
0
0

I have the following batch script:

"C:\Program Files\Rhino 7\System\rhino.exe" /nosplash /runscript="-grasshopper editor load document open C:\BPP_pipeline\snowflake_definition\latest.gh" "C:\BPP_pipeline\snowflake_definition\blank_mm.3dm" >> log.txt

I need to translate this into powershell. I am having trouble with the runscript part. I am having trouble finding documentation as well. This is what I have so far:

& "C:\Program Files\Rhino 7\System\rhino.exe" --% -nosplash -runscript="-grasshopper editor load document open C:\BPP_pipeline\snowflake_definition\latest.gh" "C:\BPP_pipeline\snowflake_definition\blank_mm.3dm" 

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 5791

Trending Articles