Grasshopper

algorithmic modeling for Rhino

Hello to all,

from a node developed in Visual Studio, I need to add a button or a link text in the Grasshopper Help pop-up  to open the web browser and point specific address.

for the moment I just tried overridingthis two guys:

protected override string HtmlHelp_Source()
{
  return "GOTO:http://www.YourWebAddressHere.com";
}

protected override string HelpDescription
{
 get
 {
  return "hi";
 }
}

where I could find more references or examples?

kind regards

thanks in advance

Carlos

 

Views: 299

Replies to This Discussion

Nowhere I'm afraid. The help documentation SDK is terrible and there is no explanation for it. Are you saying overriding the Html_Source override doesn't work?

Hi David, thanks.

I haven't went too far overriding the Html_Source method. (apart from the GOTO).

Can I insert html code in that method in order to display the information in a different way? could you point me some snippet, to have an idea how to start?

for the the HelpDescription Method I trigger the browser via system.diagnostic, but is not what I really need.

what I need is quite similar you have done for the native nodes. instead of point to the contactdeveloper (link) something to point to a web page.

kind regards

thanks in advance

Carlos

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service