integrate Revit 2025 SDK

This commit is contained in:
Jeremy Tammik
2024-04-11 13:47:20 +02:00
parent e786953544
commit f414362f2b
889 changed files with 26676 additions and 26865 deletions
@@ -65,9 +65,9 @@ namespace Revit.SDK.Samples.UIAPI.CS
PreviewModel form = new PreviewModel(commandData.Application.Application, ElementId.InvalidElementId);
form.ShowDialog();
}
catch (Exception e)
catch
{
throw e;
throw;
}
finally
{
@@ -1,4 +1,6 @@
namespace Revit.SDK.Samples.UIAPI.CS
using System;
namespace Revit.SDK.Samples.UIAPI.CS
{
partial class PreviewModel
{
@@ -16,6 +18,9 @@
if (disposing && (components != null))
{
components.Dispose();
(_uiApplication as IDisposable)?.Dispose();
(_dbDocument as IDisposable)?.Dispose();
(_application as IDisposable)?.Dispose();
}
base.Dispose(disposing);
}