Rhino Code in VS Code - Is it still a thing?

Hi,
Is Rhino Code still a thing? This seemingly easy process is not working for me, after typing >Rhino: Run in Rhino WIP I can’t select any running Rhino WIP instance.
Also, I see there wasn’t any updates to this since 2021 and generally there is not much information about this so I don’t really know if it should still work.

This is a video made by @eirannejad

2 Likes

It is still a thing and still does the one thing of “Run in Rhino”. I have to update this before the final release for a better name and command names.

Make sure you have the correct Rhino path in the settings:

1 Like

Hi, thank you for the response.

I got “There are no active scripts open”, still without a chance to select the Rhino instance.

Open a python script that you want to run in Rhino and then run the command in vscode

Ok, I got it working now, I got to have it open in the Rhino’s Script Editor too.

1 Like

No it is enough to have it open in vscode

1 Like

@barden00 Actually I see what you mean. I found a bug. With the next beta build, when you run a script from vscode, it automatically initialized the languages in Rhino so the script should run smoothly

1 Like

Hi @eirannejad thank you for developing this feature <3

I am interested to know if this works with the latest Rhino8 stable release I have the rhino 8.2 installed in a windows PC

I installed RhinoCode as an extension in VScode, and I am not sure where the Rhinoceros.app is located in my PC, I have a commercial version. would it be this “C:\Program Files\Rhino 8\System\Rhino.exe”? . I could not find installation instructions anywhere. Any help would be great!

thanks in advance

Yes. Put the path of where Rhino is installed in the plugin settings like this:

Code_KQepL8MiYI

thanks for your response, a late follow up question,

do you men I need to paste the rhino installation path somewhere in VScode? when I open the Rhinocode extension in VScode whis is what I see, still unsure where i should paste the path

thanks in advance!

I do see settings under feature contribution, but I am not able to edit anything there

thanks for the response, I set the path in my setting.json in VScode like the image below, but I continue to get the error : Could not find rhinocode. Make sure Rhino WIP is installed. If so, set the ‘rhinoInstallPath’ setting

specs:
pc - Windows10
rhino 8.3.24 commercial version

your suggestions would greatly help, thanks

ExtensionSetting

1 Like

Hi All,

I’m trying to get this working at the moment, but I’m getting an error saying “There are no instance of Rhino WIP running”.

Is “Rhino WIP” a seperare package/plugin? When I search for it, I only can only find the WIP development versions of Rhion - I’m assuming this functionality isn’t just limited to the WIP Versions…

What do I need to do here?

Hi,
From Extension Settings, change Install Path to Rhino8.
Code_KQepL8MiYI

yeah, I’ve done that already.

Is Rhino8 running?

Yes it is.

A while ago, we decided not to launch the rhinocode server when Rhino launches to improve performance. There is a command for it now StartScriptServer. If you want the server to start always, add this command to the list of startup commands in Rhino.

The server is launched when you open the script editor in Rhino as well.

3 Likes