-
Notifications
You must be signed in to change notification settings - Fork 2
Tooltips
Fraser Greenroyd edited this page Dec 19, 2018
·
1 revision
When you hold your cursor over the input or output of a node in Dynamo or Grasshopper, a tooltip is displayed by default, providing a brief description of the tool. To ensure all code is transparent and well documented, please add tooltips to each node. To do this:
-
Make sure that the following libraries are loaded:
using BH.oM.Reflection.Attributes;
using System.ComponentModel;
-
For each function/node, add a Description, Input and Output with a brief description for each one:
[Description("gets Building from TasTBD Building")]
[Input("TBD.Building", "tbd.Building")]
[Output("BHoM Building")]
Here is an example: