更新整理

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

@@ -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);