Skip to content

Commit

Permalink
Clear Example
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Apr 14, 2023
1 parent 5eae93e commit bc60a7a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ricaun.Revit.UI.Example/Revit/AppStacked.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ public Result OnStartup(UIControlledApplication application)

//ribbonPanel.AddStackedItems(ribbonPanel.NewPushButtonData<Commands.Command>(), ribbonPanel.NewPushButtonData<Commands.Command>(), ribbonPanel.NewPushButtonData<Commands.Command>());


var i = ribbonPanel.CreatePushButton<Commands.Command>()
.SetLargeImage("/UIFrameworkRes;component/ribbon/images/revit.ico");

System.Console.WriteLine(i.GetRibbonItem<Autodesk.Windows.RibbonItem>());


RibbonItem[] CreateButtons(int number)
{
var itens = Enumerable.Range(1, number).Select(i =>
Expand Down

0 comments on commit bc60a7a

Please sign in to comment.