调整代码
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
<ms:MelWindow
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.RvCivil.ResolveCivilConnectView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:rvCivil="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCivil"
|
||||
xmlns:ms="https://github.com/ShrlAlgo/Melskin"
|
||||
Title="土建构件连接"
|
||||
Width="300"
|
||||
Height="600"
|
||||
MinHeight="600"
|
||||
d:DataContext="{d:DesignInstance Type=rvCivil:ResolveCivilConnectViewModel}"
|
||||
Icon="{DynamicResource RevitIcon}"
|
||||
mc:Ignorable="d">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Window.Resources>
|
||||
<ms:Grid
|
||||
ChildMargin="5"
|
||||
Columns="*"
|
||||
Rows="*,Auto,Auto">
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
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
|
||||
Grid.Row="2"
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding ModifyModelCommand}"
|
||||
Content="修改"
|
||||
ToolTip="相交的图元才会被修改" />
|
||||
</ms:Grid>
|
||||
</ms:MelWindow>
|
||||
Reference in New Issue
Block a user