This commit is contained in:
GG Z
2026-01-02 16:37:37 +08:00
parent 4df4ce1e6a
commit 0e9db9a2b9
80 changed files with 1846 additions and 4570 deletions

View File

@@ -21,7 +21,11 @@ namespace ShrlAlgoToolkit.RevitAddins.Assists
{
ParserRevitFile(filePath);
}
throw new Exception("文件格式不正确!");
else
{
throw new Exception("文件格式不正确!");
}
}
/// <summary>
/// 图片资源转字节

View File

@@ -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"

View File

@@ -9,10 +9,5 @@
{
InitializeComponent();
}
private void CbbSymbols_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
{
}
}
}

View File

@@ -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"

View File

@@ -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>