Are there any examples or references that show how to customize/extend the help contents of custom components, (developing in visual studio, C#)? Weaverbird is one example that seems to have an expanded help menu?
I am hoping to have the component’s help contents have a bit more info than what is registered here.
: base("MidiButtonState", State", "Detect Button Push", "OTools", subCategory: "WIP")
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
pManager.AddIntegerParameter("MidiButton", "B", "Button signal from MidiOut.", GH_ParamAccess.item);
pManager.AddIntegerParameter("Clicks", "C", "Number of Clicks before setting value.", GH_ParamAccess.item, 2);
You have to override the HtmlHelp_Source method on your component, and compose a custom html string.
the Grasshopper.GUI.Html namespace has some classes that are helpful for creating standard content. But there’s a lot of it and it’s uniformly awful so I really don’t want to document it.
None of this integrated html nonsense will be part of future versions.
No public discussion, we pretty much know in what direction it’s going. Separate files that can be edited/translated/added to by anyone, probably based on MarkDown/CommonMark and YAML, with automatic linking done at runtime.