2026-01-02 17:30:41 +08:00
|
|
|
<ms:MelWindow
|
2025-04-24 20:56:44 +08:00
|
|
|
x:Class="ShrlAlgoToolkit.RevitAddins.RvCivil.ResolveCivilConnectView"
|
2024-09-22 11:05:41 +08:00
|
|
|
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"
|
2024-09-22 11:05:41 +08:00
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2025-04-24 20:56:44 +08:00
|
|
|
xmlns:rvCivil="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCivil"
|
2026-01-02 17:30:41 +08:00
|
|
|
xmlns:ms="https://github.com/ShrlAlgo/Melskin"
|
2025-10-10 11:19:58 +08:00
|
|
|
Title="土建构件连接"
|
|
|
|
|
Width="300"
|
|
|
|
|
Height="600"
|
|
|
|
|
MinHeight="600"
|
|
|
|
|
d:DataContext="{d:DesignInstance Type=rvCivil:ResolveCivilConnectViewModel}"
|
|
|
|
|
Icon="{DynamicResource RevitIcon}"
|
|
|
|
|
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>
|
2026-01-02 17:30:41 +08:00
|
|
|
<ms:Grid
|
2024-09-22 11:05:41 +08:00
|
|
|
ChildMargin="5"
|
|
|
|
|
Columns="*"
|
|
|
|
|
Rows="*,Auto,Auto">
|
|
|
|
|
<GroupBox
|
2025-04-24 20:56:44 +08:00
|
|
|
Grid.Row="0"
|
2025-10-10 11:19:58 +08:00
|
|
|
Grid.Column="0"
|
2024-09-22 11:05:41 +08:00
|
|
|
Header="扣减选项">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="结构柱剪切建筑墙"
|
|
|
|
|
IsChecked="{Binding SColumnCutAWall}"
|
|
|
|
|
ToolTip="保留原结构柱不变,建筑墙被剪切" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="结构柱剪切结构墙"
|
|
|
|
|
IsChecked="{Binding SColumnCutSWall}"
|
|
|
|
|
ToolTip="保留原结构柱不变,结构墙被剪切" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="结构柱剪切梁"
|
|
|
|
|
IsChecked="{Binding SColumnCutFraming}"
|
|
|
|
|
ToolTip="保留原结构柱不变,梁被剪切" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="结构柱剪切板"
|
|
|
|
|
IsChecked="{Binding SColumnCutFloor}"
|
|
|
|
|
ToolTip="保留原结构柱不变" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="梁剪切建筑墙"
|
|
|
|
|
IsChecked="{Binding FramingCutAWall}"
|
|
|
|
|
ToolTip="保留原结构梁,建筑墙被剪切" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="梁剪切结构墙"
|
|
|
|
|
IsChecked="{Binding FramingCutSWall}"
|
|
|
|
|
ToolTip="保留原结构梁,结构墙被剪切" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="梁剪切板"
|
|
|
|
|
IsChecked="{Binding FramingCutFloor}"
|
|
|
|
|
ToolTip="保留原梁,板被剪切" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="板剪切建筑墙"
|
|
|
|
|
IsChecked="{Binding FloorCutAWall}"
|
|
|
|
|
ToolTip="保留原板,建筑墙被剪切" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="主梁剪切次梁"
|
|
|
|
|
IsChecked="{Binding MFramingCutSFraming}"
|
|
|
|
|
ToolTip="保留主梁,次梁被剪切" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="板剪切结构墙"
|
|
|
|
|
IsChecked="{Binding FloorCutSWall}"
|
|
|
|
|
ToolTip="保留原板,结构墙被剪切" />
|
|
|
|
|
<CheckBox
|
|
|
|
|
Content="结构墙剪切建筑墙"
|
|
|
|
|
IsChecked="{Binding SWallCutAWall}"
|
|
|
|
|
ToolTip="保留原板,建筑墙被剪切" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
<GroupBox Grid.Row="1" Header="修改范围">
|
|
|
|
|
<UniformGrid Rows="1">
|
|
|
|
|
<RadioButton Content="框选范围" IsChecked="True" />
|
|
|
|
|
<RadioButton Content="整个模型" IsChecked="{Binding IsWholeModel}" />
|
|
|
|
|
</UniformGrid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
<Button
|
2025-04-24 20:56:44 +08:00
|
|
|
Grid.Row="2"
|
|
|
|
|
HorizontalAlignment="Stretch"
|
2025-10-10 11:19:58 +08:00
|
|
|
Command="{Binding ModifyModelCommand}"
|
|
|
|
|
Content="修改"
|
2024-09-22 11:05:41 +08:00
|
|
|
ToolTip="相交的图元才会被修改" />
|
2026-01-02 17:30:41 +08:00
|
|
|
</ms:Grid>
|
|
|
|
|
</ms:MelWindow>
|