2026-01-02 17:30:41 +08:00
|
|
|
<ui:MelWindow
|
2025-04-24 20:56:44 +08:00
|
|
|
x:Class="ShrlAlgoToolkit.RevitAddins.RvCommon.PipesCreatorView"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
2025-10-10 11:19:58 +08:00
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2025-04-24 20:56:44 +08:00
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCommon"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2026-01-02 17:30:41 +08:00
|
|
|
xmlns:ui="https://github.com/ShrlAlgo/Melskin"
|
2025-10-10 11:19:58 +08:00
|
|
|
Title="管道翻模"
|
|
|
|
|
Width="250"
|
|
|
|
|
Height="180"
|
|
|
|
|
MinWidth="250"
|
|
|
|
|
MinHeight="180"
|
|
|
|
|
d:DataContext="{d:DesignInstance Type=local:PipesCreatorViewModel}"
|
|
|
|
|
Icon="{DynamicResource RevitIcon}"
|
|
|
|
|
SizeToContent="Height"
|
|
|
|
|
mc:Ignorable="d">
|
2024-09-22 11:05:41 +08:00
|
|
|
<Window.Resources>
|
|
|
|
|
<ResourceDictionary>
|
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
2025-04-24 20:56:10 +08:00
|
|
|
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
2024-09-22 11:05:41 +08:00
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
</Window.Resources>
|
2025-08-20 12:10:35 +08:00
|
|
|
<ui:Grid ChildMargin="5" Columns="*">
|
|
|
|
|
<ComboBox
|
2025-04-24 20:56:44 +08:00
|
|
|
Grid.Row="0"
|
2025-12-23 21:35:54 +08:00
|
|
|
ui:InputAssist.PlaceholderText="管线类型"
|
2025-10-10 11:19:58 +08:00
|
|
|
DisplayMemberPath="Name"
|
|
|
|
|
ItemsSource="{Binding PipeTypes}"
|
2024-09-22 11:05:41 +08:00
|
|
|
SelectedItem="{Binding SelectedPipeType}" />
|
2025-08-20 12:10:35 +08:00
|
|
|
<ComboBox
|
2025-04-24 20:56:44 +08:00
|
|
|
Grid.Row="1"
|
2025-12-23 21:35:54 +08:00
|
|
|
ui:InputAssist.PlaceholderText="系统类型"
|
2025-10-10 11:19:58 +08:00
|
|
|
DisplayMemberPath="Name"
|
|
|
|
|
ItemsSource="{Binding PipingSystemTypes}"
|
2024-09-22 11:05:41 +08:00
|
|
|
SelectedItem="{Binding SelectedPipingSystemType}" />
|
|
|
|
|
<Button
|
2025-04-24 20:56:44 +08:00
|
|
|
Grid.Row="2"
|
2025-10-10 11:19:58 +08:00
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
|
Command="{Binding CreateCommand}"
|
|
|
|
|
Content="创建" />
|
2025-08-20 12:10:35 +08:00
|
|
|
</ui:Grid>
|
2026-01-02 17:30:41 +08:00
|
|
|
</ui:MelWindow>
|