命名优化,达芬奇字体修改工具
This commit is contained in:
@@ -16,18 +16,18 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
|
||||
{
|
||||
private readonly ActionEventHandler wallFinishHandler = new ();
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
|
||||
private double wallBaseOffset;
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
|
||||
public partial double WallBaseOffset { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
|
||||
private double wallHeight;
|
||||
|
||||
[ObservableProperty]
|
||||
private List<WallType> wallTypes = wallTypes;
|
||||
[ObservableProperty]
|
||||
public partial List<WallType> WallTypes { get; set; } = wallTypes;
|
||||
|
||||
[ObservableProperty]
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
|
||||
private WallType selectedWallType;
|
||||
|
||||
@@ -103,7 +103,7 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
|
||||
|
||||
face.Intersect(bottomFace, out var intersectCurve);
|
||||
doc.Invoke(
|
||||
ts =>
|
||||
_ =>
|
||||
{
|
||||
var curve = intersectCurve.CreateOffset(wallWidth / 2, XYZ.BasisZ).CreateReversed();
|
||||
|
||||
@@ -276,7 +276,7 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
|
||||
//var loop = CurveLoop.Create(curs);
|
||||
//var offestcurveloop = CurveLoop.CreateViaOffset(loop, wallwidth / 2, XYZ.BasisZ);
|
||||
doc.Invoke(
|
||||
ts =>
|
||||
_ =>
|
||||
{
|
||||
for (var i = 0; i < curs.Count; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user