更新
This commit is contained in:
@@ -21,7 +21,11 @@ namespace ShrlAlgoToolkit.RevitAddins.Assists
|
||||
{
|
||||
ParserRevitFile(filePath);
|
||||
}
|
||||
throw new Exception("文件格式不正确!");
|
||||
else
|
||||
{
|
||||
|
||||
throw new Exception("文件格式不正确!");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 图片资源转字节
|
||||
|
||||
@@ -250,7 +250,7 @@
|
||||
AutoGenerateColumns="False"
|
||||
CanUserAddRows="False"
|
||||
IsReadOnly="True"
|
||||
ItemsSource="{Binding SelectedItem.Parameters, ElementName=CbbSymbols, Mode=TwoWay}">
|
||||
ItemsSource="{Binding SelectedItem.ParameterDefinitions, ElementName=CbbSymbols, Mode=TwoWay}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding Name}" Header="属性名" />
|
||||
<DataGridTextColumn Binding="{Binding Value}" Header="属性值" />
|
||||
@@ -308,7 +308,6 @@
|
||||
Grid.Row="2"
|
||||
Grid.Column="2"
|
||||
Message="{Binding Message}" />
|
||||
<!-- IsOpen="{Binding ActiveSnackbar}" -->
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="2"
|
||||
|
||||
@@ -9,10 +9,5 @@
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void CbbSymbols_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,9 +9,9 @@
|
||||
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
|
||||
Title="可见性控制"
|
||||
Width="370"
|
||||
Height="100"
|
||||
Height="60"
|
||||
MinWidth="400"
|
||||
MinHeight="100"
|
||||
MinHeight="60"
|
||||
d:DataContext="{d:DesignInstance local:VisibilityViewModel}"
|
||||
Icon="{DynamicResource RevitIcon}"
|
||||
SizeToContent="Width"
|
||||
|
||||
@@ -182,6 +182,12 @@
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Views\" />
|
||||
<Folder Include="ViewModels\" />
|
||||
<Folder Include="Models\" />
|
||||
<Folder Include="Commands\" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="..\ShrlAlgoToolkit.Revit\ShrlAlgoToolkit.Revit.projitems" Label="Shared" />
|
||||
<!-- <PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user