大量更新
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
using Autodesk.Revit.DB;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows;
|
||||
|
||||
using Autodesk.Revit.DB;
|
||||
using Autodesk.Revit.UI;
|
||||
using Autodesk.Windows;
|
||||
|
||||
using ShrlAlgoToolkit.RevitAddins.Properties;
|
||||
using ShrlAlgoToolkit.RevitAddins.RvFamily;
|
||||
|
||||
using ShrlAlgoToolkit.RevitAddins.RvFamily.FamilyLibrary;
|
||||
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows;
|
||||
|
||||
namespace ShrlAlgoToolkit.RevitAddins.UIRibbon;
|
||||
|
||||
public class FamilyApp
|
||||
|
||||
@@ -389,7 +389,7 @@ public class ModifyTabApp
|
||||
Autodesk.Windows.RibbonButton iavBtn =
|
||||
new()
|
||||
{
|
||||
//Image = new System.Windows.Media.Imaging.BitmapImage(new Uri(icopath)),
|
||||
//Image = new System.Windows.Media.Imaging.BitmapImage(new NavigateUri(icopath)),
|
||||
Image = Resources.select_on_view_16px.ToBitmapSource(),
|
||||
Size = RibbonItemSize.Standard,
|
||||
ShowText = true,
|
||||
@@ -529,7 +529,7 @@ public class ModifyTabApp
|
||||
Autodesk.Windows.RibbonButton selFilterBtn =
|
||||
new()
|
||||
{
|
||||
//Image = new System.Windows.Media.Imaging.BitmapImage(new Uri(icopath)),
|
||||
//Image = new System.Windows.Media.Imaging.BitmapImage(new NavigateUri(icopath)),
|
||||
Image = Resources.select_filter_16px.ToBitmapSource(),
|
||||
LargeImage = Resources.select_filter_32px.ToBitmapSource(),
|
||||
Size = RibbonItemSize.Large,
|
||||
@@ -582,7 +582,7 @@ public class ModifyTabApp
|
||||
Autodesk.Windows.RibbonButton btn =
|
||||
new()
|
||||
{
|
||||
//Image = new System.Windows.Media.Imaging.BitmapImage(new Uri(icopath)),
|
||||
//Image = new System.Windows.Media.Imaging.BitmapImage(new NavigateUri(icopath)),
|
||||
Image = Resources.select_filter_16px.ToBitmapSource(),
|
||||
LargeImage = Resources.select_filter_32px.ToBitmapSource(),
|
||||
Size = RibbonItemSize.Large,
|
||||
|
||||
@@ -107,7 +107,7 @@ public class RvApp : ExternalApplication
|
||||
}
|
||||
}
|
||||
|
||||
// private static Uri FontUri => new Uri(
|
||||
// private static NavigateUri FontUri => new NavigateUri(
|
||||
//"pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/");
|
||||
// private static FontFamily FontFamily => new FontFamily(FontUri, "./Fonts/#BoxIcons");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user