更新整理
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user