更新整理
This commit is contained in:
@@ -6,29 +6,29 @@ using Autodesk.Revit.UI.Selection;
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using Nice3point.Revit.Toolkit.External.Handlers;
|
||||
using ShrlAlgoToolkit.Core.Assists;
|
||||
|
||||
using ShrlAlgo.Toolkit.Core.Assist;
|
||||
using ShrlAlgoToolkit.Core.Assist;
|
||||
|
||||
namespace ShrlAlgo.RvKits.RvCivil;
|
||||
|
||||
namespace ShrlAlgoToolkit.RevitAddins.RvCivil;
|
||||
|
||||
public partial class WallFinishesViewModel(List<WallType> wallTypes) : ObservableObject
|
||||
{
|
||||
private readonly ActionEventHandler wallFinishHandler = new ();
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(PlaceWallCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
|
||||
private double wallBaseOffset;
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(PlaceWallCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
|
||||
private double wallHeight;
|
||||
|
||||
[ObservableProperty]
|
||||
private List<WallType> wallTypes = wallTypes;
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(PlaceWallCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
|
||||
private WallType selectedWallType;
|
||||
|
||||
public PlacementType PlaceType { get; set; }
|
||||
@@ -127,7 +127,7 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.ToLog(ex.Message);
|
||||
LogAssist.ToLog(ex.Message);
|
||||
}
|
||||
},
|
||||
"创建墙面饰面"
|
||||
@@ -240,7 +240,7 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.ToLog(ex.Message);
|
||||
LogAssist.ToLog(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -302,7 +302,7 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.ToLog(ex.Message);
|
||||
LogAssist.ToLog(ex.Message);
|
||||
}
|
||||
|
||||
//WallUtils.AllowWallJoinAtEnd(w, 0);
|
||||
|
||||
Reference in New Issue
Block a user