命名优化,达芬奇字体修改工具
This commit is contained in:
@@ -19,45 +19,47 @@ namespace ShrlAlgoToolkit.RevitAddins.RvFamily;
|
||||
public partial class FamilyProcessorViewModel : ObservableObject
|
||||
{
|
||||
[ObservableProperty]
|
||||
private bool addCategoryPrefix;
|
||||
public partial bool AddCategoryPrefix { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private bool createCategoryFolder;
|
||||
public partial bool CreateCategoryFolder { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private IList<ElementType> familyEditCollection;
|
||||
public partial IList<ElementType> FamilyEditCollection { get; set; }
|
||||
|
||||
//private readonly List<TreeModel> familyNodes = new();
|
||||
|
||||
[ObservableProperty]
|
||||
private string findStr;
|
||||
public partial string FindStr { get; set; }
|
||||
|
||||
private readonly ActionEventHandler handler;
|
||||
|
||||
[ObservableProperty]
|
||||
private bool isOverride = true;
|
||||
public partial bool IsOverride { get; set; } = true;
|
||||
|
||||
[ObservableProperty]
|
||||
private int modifyNameIndex;
|
||||
public partial int ModifyNameIndex { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvFamily.FamilyProcessorViewModel.SaveFamiliesCommand))]
|
||||
private string pathToSaveFamily;
|
||||
public partial string PathToSaveFamily { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private string prefix;
|
||||
public partial string Prefix { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private string replaceStr;
|
||||
public partial string ReplaceStr { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvFamily.FamilyProcessorViewModel.TransmitFamilyCommand), nameof(RevitAddins.RvFamily.FamilyProcessorViewModel.SaveFamiliesCommand))]
|
||||
private Document sourceDoc;
|
||||
public partial Document SourceDoc { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private string suffix;
|
||||
public partial string Suffix { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvFamily.FamilyProcessorViewModel.TransmitFamilyCommand))]
|
||||
private Document targetDoc;
|
||||
public partial Document TargetDoc { get; set; }
|
||||
|
||||
//private readonly ExternalEvent saveEvent;
|
||||
//private readonly SaveFamilyHandler handler;
|
||||
@@ -67,9 +69,11 @@ public partial class FamilyProcessorViewModel : ObservableObject
|
||||
private readonly UIApplication uiapp;
|
||||
|
||||
[ObservableProperty]
|
||||
private bool view3dAsDefault;
|
||||
public partial bool View3dAsDefault { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
public List<Family> familyCollection = new();
|
||||
public partial List<Family> FamilyCollection { get; set; } = new();
|
||||
|
||||
[ObservableProperty]
|
||||
public List<Document> sourceDocsList;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user