This commit is contained in:
ShrlAlgo
2025-08-20 12:10:35 +08:00
parent fcd306b0f7
commit 955a01f564
962 changed files with 7893 additions and 127784 deletions

View File

@@ -1,4 +1,4 @@
<ui:FluentWindowEx
<ui:NeoWindow
Height="600"
MinHeight="400"
MinWidth="380"
@@ -12,14 +12,14 @@
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvFamily"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Window.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</Window.Resources>
<TabControl Margin="5,5,5,5">
<TabItem Header="保存族">
<ui:AutoGrid
<ui:Grid
ChildMargin="5"
Columns="*,*"
Rows="*,Auto,Auto,Auto">
@@ -63,19 +63,19 @@
Grid.Row="1"
VerticalAlignment="Center">
<CheckBox Content="添加族类别文件夹" IsChecked="{Binding CreateCategoryFolder}" />
<CheckBox Content="文件名添加族类别" IsChecked="{Binding AddCategoryPrefix}" />
<CheckBox Content="文件名添加族类别" IsChecked="{Binding AddCategoryui:InputAssist.Prefix}" />
<CheckBox Content="以三维为默认视图" IsChecked="{Binding View3dAsDefault}" />
</StackPanel>
<ui:TextBox
PlaceholderText="保存路径"
<TextBox
ui:InputAssist.Placeholder="保存路径"
Text="{Binding PathToSaveFamily}"
TextOptions.TextFormattingMode="Display" />
<ui:Button
<Button
Command="{Binding SelectDirectoryCommand}"
Content="路径选择"
Cursor="Hand"
HorizontalAlignment="Stretch"
Icon="{ui:FontIcon '&#xEADF;',
ui:ButtonAssist.Icon="{ui:FontIcon '&#xEADF;',
FontFamily={StaticResource BoxIcons}}" />
<ComboBox
DisplayMemberPath="Title"
@@ -88,17 +88,17 @@
</i:EventTrigger>
</i:Interaction.Triggers>-->
</ComboBox>
<ui:Button
<Button
Command="{Binding SaveFamiliesCommand}"
CommandParameter="{Binding SelectedItems, ElementName=FamilySaveDg}"
Content="导出保存"
HorizontalAlignment="Stretch"
Icon="{ui:FontIcon Glyph=&#xEACE;,
ui:ButtonAssist.Icon="{ui:FontIcon Glyph=&#xEACE;,
FontFamily={StaticResource BoxIcons}}" />
</ui:AutoGrid>
</ui:Grid>
</TabItem>
<TabItem Header="传递族">
<ui:AutoGrid
<ui:Grid
ChildMargin="5"
Columns="*,Auto"
Rows="*,Auto,Auto">
@@ -165,7 +165,7 @@
Grid.Column="1"
Grid.Row="2"
ToolTip="关闭" />
</ui:AutoGrid>
</ui:Grid>
</TabItem>
</TabControl>
</ui:FluentWindowEx>
</ui:NeoWindow>