From ce85157cca3a6abc692f5f7f17a374b8e1f7ba22 Mon Sep 17 00:00:00 2001 From: Wael Yassir Date: Sun, 16 Jun 2024 18:55:23 +0200 Subject: [PATCH 1/2] Support Revit 2025. --- .../DesignAutomationHandler.addin | 14 ++++ .../DesignAutomationHandler2025.csproj | 73 +++++++++++++++++++ .../Properties/AssemblyInfo.cs | 36 +++++++++ 3 files changed, 123 insertions(+) create mode 100644 DesignAutomationHandler2025/DesignAutomationHandler.addin create mode 100644 DesignAutomationHandler2025/DesignAutomationHandler2025.csproj create mode 100644 DesignAutomationHandler2025/Properties/AssemblyInfo.cs diff --git a/DesignAutomationHandler2025/DesignAutomationHandler.addin b/DesignAutomationHandler2025/DesignAutomationHandler.addin new file mode 100644 index 0000000..3435527 --- /dev/null +++ b/DesignAutomationHandler2025/DesignAutomationHandler.addin @@ -0,0 +1,14 @@ + + + + DesignAutomationHandler + .\DesignAutomationHandler.dll + 68C06BDB-E08C-4E27-9CF9-2C6210545F9C + DesignAutomationHandler.DesignAutomationHandlerApp + DesignAutomationHandler + AlwaysVisible + "DesignAutomationHandler For Local Debugging of D4R" + Autodesk + Autodesk, www.autodesk.com + + \ No newline at end of file diff --git a/DesignAutomationHandler2025/DesignAutomationHandler2025.csproj b/DesignAutomationHandler2025/DesignAutomationHandler2025.csproj new file mode 100644 index 0000000..98704e1 --- /dev/null +++ b/DesignAutomationHandler2025/DesignAutomationHandler2025.csproj @@ -0,0 +1,73 @@ + + + net8.0-windows + Library + DesignAutomationHandler + DesignAutomationHandler + false + true + true + false + Debug;Release + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + true + true + false + + + + + + + + + + + + + + + Never + Designer + + + + + LICENSE.txt + + + + + + + + + if exist "$(AppData)\Autodesk\REVIT\Addins\2025" copy "$(MSBuildProjectDirectory)\*.addin" "$(AppData)\Autodesk\REVIT\Addins\2025" + if exist "$(AppData)\Autodesk\REVIT\Addins\2025" copy "$(MSBuildProjectDirectory)\$(OutputPath)*.dll" "$(AppData)\Autodesk\REVIT\Addins\2025" + + + \ No newline at end of file diff --git a/DesignAutomationHandler2025/Properties/AssemblyInfo.cs b/DesignAutomationHandler2025/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ecbbeca --- /dev/null +++ b/DesignAutomationHandler2025/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("DesignAutomationHandler")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("DesignAutomationHandler")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5B638ACA-9ACE-447B-B323-205C9831A85E")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] From f7d0dfe0a90c9f4ee166c39ed4abddcaab0e0903 Mon Sep 17 00:00:00 2001 From: Wael Yassir Date: Sun, 16 Jun 2024 18:57:27 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 72597c4..6545798 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![Platforms](https://img.shields.io/badge/Plugins-Windows-lightgray.svg) ![.NET](https://img.shields.io/badge/.NET%20Framework-4.8-blue.svg) -[![Revit](https://img.shields.io/badge/Revit-2018|2019|2020|2021|2022|2023|2024-lightblue.svg)](http://developer.autodesk.com/) +[![Revit](https://img.shields.io/badge/Revit-2018|2019|2020|2021|2022|2023|2024|2025-lightblue.svg)](http://developer.autodesk.com/) # Description @@ -23,10 +23,10 @@ See [step-by-step video](https://www.youtube.com/watch?v=i0LJ9JOpKMQ) ## Compile and Load on Revit -1. Build the solution `DesignAutomationHandler`, compiling DesignAutomationHandler for Revit 2018 (`DesignAutomationHandler2018`), Revit 2019 (`DesignAutomationHandler2019`), Revit 2020 (`DesignAutomationHandler2020`), Revit 2021 (`DesignAutomationHandler2021`), Revit 2022 (`DesignAutomationHandler2022`), Revit 2023 (`DesignAutomationHandler2023`), and Revit 2024 (`DesignAutomationHandler2024`) -> Design Automation for Revit currently supports Revit 2018, 2019, 2020, 2021, 2022, 2023, and 2024. +1. Build the solution `DesignAutomationHandler`, compiling DesignAutomationHandler for Revit 2018 (`DesignAutomationHandler2018`), Revit 2019 (`DesignAutomationHandler2019`), Revit 2020 (`DesignAutomationHandler2020`), Revit 2021 (`DesignAutomationHandler2021`), Revit 2022 (`DesignAutomationHandler2022`), Revit 2023 (`DesignAutomationHandler2023`), and Revit 2024 (`DesignAutomationHandler2024`), and Revit 2025 (`DesignAutomationHandler2025`) +> Design Automation for Revit currently supports Revit 2018, 2019, 2020, 2021, 2022, 2023, 2024, and 2025. -2. Copy/paste the `DesignAutomationHandler.addin` into the "Addins" folder `C:\ProgramData\Autodesk\Revit\Addins\XXXX\`, where `XXXX` is the Revit version (e.g. 2018, 2019, 2020, 2021, 2022, 2023, 2024) you intend to run. +2. Copy/paste the `DesignAutomationHandler.addin` into the "Addins" folder `C:\ProgramData\Autodesk\Revit\Addins\XXXX\`, where `XXXX` is the Revit version (e.g. 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025) you intend to run. 3. Copy/paste the `.addin` file of your Design Automation for Revit plugin into the same folder `C:\ProgramData\Autodesk\Revit\Addins\XXXX\`.