更新整理

This commit is contained in:
GG Z
2025-04-24 20:56:44 +08:00
parent 155cef46f8
commit 5b6d67b571
813 changed files with 14437 additions and 12362 deletions

View File

@@ -1,21 +1,19 @@
using System.Windows;
using System.Windows.Media.Imaging;
using Autodesk.Revit.DB;
using Autodesk.Revit.DB.Structure;
using Autodesk.Revit.UI;
using Autodesk.Revit.UI.Selection;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using Nice3point.Revit.Toolkit.External.Handlers;
// ReSharper disable ConditionIsAlwaysTrueOrFalse
namespace ShrlAlgo.RvKits.RvCommon;
namespace ShrlAlgoToolkit.RevitAddins.RvCommon;
public partial class InstanceCreatorViewModel : ObservableObject
{
@@ -87,7 +85,7 @@ public partial class InstanceCreatorViewModel : ObservableObject
private BitmapSource image;
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(PlaceInstancesCommand))]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCommon.InstanceCreatorViewModel.PlaceInstancesCommand))]
private bool canPlaceInstance = true;
private readonly Document document;
@@ -99,7 +97,7 @@ public partial class InstanceCreatorViewModel : ObservableObject
private Family selectedFamily;
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(PlaceInstancesCommand))]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCommon.InstanceCreatorViewModel.PlaceInstancesCommand))]
private FamilySymbol selectedFamilySymbol;
[ObservableProperty]