Rhino8 ScriptCompiler C#

Hi All,

ScriptCompiler does not compile code created in Rhino C#

Is this possibility foreseen in the future?

Nothing?

Hi. This is the direction we are going to support creating Rhino and Grasshopper plugins from the new script editor

1 Like

ok @eirannejad thanks for reply,

I had tried this procedure before and it gave me error

then I saw your reply above to another user, I’m waiting for the next update :+1:

Hi @eirannejad,

sorry question, but i’m curious:

using Rhino;
var rc = new Rhino.Input.Custom.GetObject();
rc.Get();
import Rhino
rc = Rhino.Input.Custom.GetObject()
rc.Get()

when you create a new project, and choose to write code in Py or C#
the final part is to publish it, creating a RHP file

How does the RHP file work? inside it is always the same code read/interpreted in Py or C#
and which Rhino therefore manages automatically, or is completely converted into C/C++

Checkout this video:

Scripts are NOT compiled, and NOT obfuscated. All your scripts will be directly embedded inside the generated components or commands. The language specification directive (e.g. #! python 3 or // #! csharp) determines which languages will run the script

1 Like