Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8532

Open webpage in Rhino's webbrowser using .NET

$
0
0

Hi!

I have not found in the forum how to open the rhino browser with a specific page, only in python here but I have tried to run:

var ps = Rhino.Runtime.PythonScript.Create();
ps.ExecuteScript("import webbrowser; webbrowser.open('http://google.com')");

on a C# component from Grasshopper and it opens my default browser instead of Rhino’s.

So, how do I open a webpage in the Rhino browser using C#?

I think WebBrowser.rhp is in C++, there are any calls from RhinoCommon? if not, can you include it please? And also if you ever upgrade your browser, please include an option to hide its taskbar with the text box. Or even better, allow you to use the control instead of the rhino’s panel.

Thanks!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 8532

Trending Articles