2025-08-20 12:10:35 +08:00
|
|
|
<ui:NeoWindow
|
2025-09-12 09:55:36 +08:00
|
|
|
Height="200"
|
2025-04-24 20:56:44 +08:00
|
|
|
SizeToContent="Height"
|
|
|
|
|
Title="拆分模型"
|
|
|
|
|
Topmost="True"
|
|
|
|
|
Width="300"
|
|
|
|
|
d:DataContext="{d:DesignInstance Type=local:SeparateModelViewModel}"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
x:Class="ShrlAlgoToolkit.RevitAddins.ModelManager.SeparateModelWin"
|
2025-02-10 20:53:40 +08:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
2025-04-24 20:56:44 +08:00
|
|
|
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.ModelManager"
|
2025-02-10 20:53:40 +08:00
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2025-08-20 12:10:35 +08:00
|
|
|
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
|
2025-04-24 20:56:44 +08:00
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
2025-08-20 12:10:35 +08:00
|
|
|
<ui:NeoWindow.Resources>
|
2025-04-24 20:56:10 +08:00
|
|
|
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
2025-08-20 12:10:35 +08:00
|
|
|
</ui:NeoWindow.Resources>
|
2025-02-10 20:53:40 +08:00
|
|
|
<Grid>
|
|
|
|
|
<StackPanel Margin="5">
|
2025-08-20 12:10:35 +08:00
|
|
|
<TextBox
|
2025-02-10 20:53:40 +08:00
|
|
|
Margin="5"
|
2025-08-20 12:10:35 +08:00
|
|
|
ui:InputAssist.Placeholder="文件名"
|
2025-02-10 20:53:40 +08:00
|
|
|
Text="{Binding FileName, UpdateSourceTrigger=PropertyChanged}" />
|
2025-08-20 12:10:35 +08:00
|
|
|
<TextBox
|
2025-02-10 20:53:40 +08:00
|
|
|
Margin="5"
|
2025-08-20 12:10:35 +08:00
|
|
|
ui:InputAssist.Placeholder="保存路径"
|
2025-02-10 20:53:40 +08:00
|
|
|
Text="{Binding FolderPath, UpdateSourceTrigger=PropertyChanged}" />
|
2025-08-20 12:10:35 +08:00
|
|
|
<Button
|
2025-02-10 20:53:40 +08:00
|
|
|
Command="{Binding SeparateCommand}"
|
2025-04-24 20:56:44 +08:00
|
|
|
Content="拆分"
|
|
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
|
Margin="5" />
|
2025-02-10 20:53:40 +08:00
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
2025-08-20 12:10:35 +08:00
|
|
|
</ui:NeoWindow>
|