How to gain access to the RhinoScript object from Visual Basic?

I´d like to know how gain access to the rhinoscript object to be able to execute command as Rhino.print(), rhino.textobjecttext(),rhino.layervisible() in my plug-in created with visual studio.

Thank you in advance

Hi @javiervg84,

When you writing a .NET plug-in for Rhino, using either C# or VB, you want to use the RhinoCommon API, not the RhinoScript API.

To print, you can do this:

Rhino.RhinoApp.WriteLine("Hello Rhino!")

– Dale