private void AddUpdateCO2eVisualization(RibbonPanel panel) { var pushButton = panel.AddItem(new PushButtonData("updateCO2eVisualization", "Update CO2e\nvisualization", AddInPath, "AMEE_in_Revit.Addin.Commands.UpdateCO2eVisualizationCommand")) as PushButton; pushButton.Image = pushButton.LargeImage = new BitmapImage(new Uri(ButtonIconsFolder + @"\visualize.png")); }
private void AddRecalculateCO2eButton(RibbonPanel panel) { var pushButton = panel.AddItem(new PushButtonData("recalculateCO2e", "Recalculate CO2e\nfor all elements", AddInPath, "AMEE_in_Revit.Addin.Commands.RecalculateCO2eCommand")) as PushButton; pushButton.Image = pushButton.LargeImage = new BitmapImage(new Uri(ButtonIconsFolder + @"\calculate.png")); }
private void AddTellAMEEButton(RibbonPanel panel) { var pushButton = panel.AddItem(new PushButtonData("launchTellAMEE", "Tell AMEE", AddInPath, "AMEE_in_Revit.Addin.Commands.LaunchTellAMEECommand")) as PushButton; pushButton.Image = pushButton.LargeImage = new BitmapImage(new Uri(ButtonIconsFolder + @"\send.png")); }
private void AddAMEEConnectButton(RibbonPanel panel) { var pushButton = panel.AddItem(new PushButtonData("launchAMEEConnect", "AMEE Connect", AddInPath, "AMEE_in_Revit.Addin.Commands.LaunchAMEEConnectCommand")) as PushButton; pushButton.ToolTip = "Say Hello World"; pushButton.Image = pushButton.LargeImage = new BitmapImage(new Uri(ButtonIconsFolder + @"\search_amee.png")); }