C# + Revit API: Lesson 8 - Tooltips & Icons - Extension Methods
1. Base Command Name // Command namespace guRoo.Cmds_GroupName //Command Class guRoo.Cmds_GroupName.Cmd_CommandName // Preferred method: GroupName GroupName._CommandName // The Approach we will use: guRoo.Cmds_GroupName.Cmd_CommandName // Remove guRoo.Cmds_ GroupName.Cmd_CommandName // Remove .Cmd GrouName_CommandName Or you can make things even more resilient by using: typeof(CommandName).FullName How to Name my Resources Tooltipkey = base name GroupName GroupName_CommandName Icons: GroupName## GroupName_CommandName## => Resolution in pixels (16 / 32px) How we will manage Tooltips We will create a Resources (resx) file in C# and embed this into our project. It will be available in memory for our project whilst it runs to access. We will store the tooltip and description as a dictionary of keys and values. ...