Skip to content

Commit

Permalink
Merge pull request #145 from chuongmep/dev
Browse files Browse the repository at this point in the history
Add support Revit 2024
  • Loading branch information
daren-thomas authored Apr 28, 2023
2 parents 86bb941 + 1ba7a2c commit 0fb62ee
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Changelog
- 2023-04-14 **2.0.1**
- Support Autodesk Revit version 2024.
- 2022-12-16 **2.0.0**
- Add support IronPython 3.4 [#136](https://github.com/architecture-building-systems/revitpythonshell/pull/136)
- Please follow [Upgrade from IronPython2 to IronPython 3](https://github.com/IronLanguages/ironpython3/blob/master/Documentation/upgrading-from-ipy2.md) to upgrade your code.
Expand Down
2 changes: 1 addition & 1 deletion Installer/Installer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
const string projectName = "RevitPythonShell";
const string outputName = "RevitPythonShell";
const string outputDir = "output";
const string version = "2.0.0";
const string version = "2.0.1";

var fileName = new StringBuilder().Append(outputName).Append("-").Append(version);
var project = new Project
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# RevitPythonShell
![Revit API](https://img.shields.io/badge/Revit%20API%202023-blue.svg) ![Platform](https://img.shields.io/badge/platform-Windows-lightgray.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![Revit API](https://img.shields.io/badge/Revit%20API%202024-blue.svg) ![Platform](https://img.shields.io/badge/platform-Windows-lightgray.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

![ReSharper](https://img.shields.io/badge/ReSharper-2021.3.3-yellow) ![Rider](https://img.shields.io/badge/Rider-2021.3.3-yellow) ![Visual Studio 2022](https://img.shields.io/badge/Visual_Studio_2022_Preview_2.0-17.1.0-yellow) ![.NET Framework](https://img.shields.io/badge/.NET_6.0-yellow)

Expand Down Expand Up @@ -41,7 +41,7 @@ Various differences between IronPython and CPython can follow at [Differences Ir

## Installation

Please follow last release at section [Release](https://github.com/architecture-building-systems/revitpythonshell/releases/latest) support version Support From Revit 2018-2023.
Please follow last release at section [Release](https://github.com/architecture-building-systems/revitpythonshell/releases/latest) support version Support From Revit 2018-2024.

Older versions:
- [Installer for Autodesk Revit 2022](https://github.com/architecture-building-systems/revitpythonshell/releases/download/2021.06.20/2021.06.20_Setup_RevitPythonShell_2022.exe)
Expand Down
20 changes: 19 additions & 1 deletion RevitPythonShell.sln
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ Global
Debug|Any CPU = Debug|Any CPU
Installer|Any CPU = Installer|Any CPU
Debug R22|Any CPU = Debug R22|Any CPU
Debug R23|Any CPU = Debug R23|Any CPU
Debug R23|Any CPU = Debug R23|Any CPU
Debug R24|Any CPU = Debug R24|Any CPU
Release R18|Any CPU = Release R18|Any CPU
Release R19|Any CPU = Release R19|Any CPU
Release R20|Any CPU = Release R20|Any CPU
Release R21|Any CPU = Release R21|Any CPU
Release R22|Any CPU = Release R22|Any CPU
Release R23|Any CPU = Release R23|Any CPU
Release R24|Any CPU = Release R24|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -51,6 +53,8 @@ Global
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Release R23|Any CPU.ActiveCfg = Release|Any CPU
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Installer|Any CPU.ActiveCfg = Release|Any CPU
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Installer|Any CPU.Build.0 = Release|Any CPU
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Debug R24|Any CPU.ActiveCfg = Debug|Any CPU
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Release R24|Any CPU.ActiveCfg = Release|Any CPU
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Debug R22|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -63,6 +67,8 @@ Global
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Release R22|Any CPU.ActiveCfg = Release|Any CPU
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Release R23|Any CPU.ActiveCfg = Release|Any CPU
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Installer|Any CPU.ActiveCfg = Release|Any CPU
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Debug R24|Any CPU.ActiveCfg = Debug|Any CPU
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Release R24|Any CPU.ActiveCfg = Release|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug R22|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -82,6 +88,10 @@ Global
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Release R23|Any CPU.Build.0 = Release|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug R23|Any CPU.Build.0 = Debug|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Installer|Any CPU.ActiveCfg = Release|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug R24|Any CPU.ActiveCfg = Debug|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug R24|Any CPU.Build.0 = Debug|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Release R24|Any CPU.ActiveCfg = Release|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Release R24|Any CPU.Build.0 = Release|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug|Any CPU.ActiveCfg = Debug R22|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug|Any CPU.Build.0 = Debug R22|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug R22|Any CPU.ActiveCfg = Debug R22|Any CPU
Expand All @@ -101,6 +111,10 @@ Global
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Installer|Any CPU.ActiveCfg = Release R23|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Release R22|Any CPU.ActiveCfg = Release R22|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Release R22|Any CPU.Build.0 = Release R22|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Release R24|Any CPU.ActiveCfg = Release R24|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Release R24|Any CPU.Build.0 = Release R24|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug R24|Any CPU.ActiveCfg = Debug R24|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug R24|Any CPU.Build.0 = Debug R24|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug|Any CPU.ActiveCfg = Debug R22|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug|Any CPU.Build.0 = Debug R22|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug R22|Any CPU.ActiveCfg = Debug R22|Any CPU
Expand All @@ -120,6 +134,10 @@ Global
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Release R23|Any CPU.Build.0 = Release R23|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug R23|Any CPU.Build.0 = Debug R23|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Installer|Any CPU.ActiveCfg = Release R23|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug R24|Any CPU.ActiveCfg = Debug R24|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug R24|Any CPU.Build.0 = Debug R24|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Release R24|Any CPU.ActiveCfg = Release R24|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Release R24|Any CPU.Build.0 = Release R24|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
8 changes: 6 additions & 2 deletions RevitPythonShell/RevitPythonShell.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<Authors>RIPS</Authors>
<Description>Revit Python Shell addin for Revit</Description>
<EnableDefaultItems>false</EnableDefaultItems>
<Configurations>Debug R22;Debug R23</Configurations>
<Configurations>$(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23</Configurations>
<Configurations>Debug R22;Debug R23;Debug R24</Configurations>
<Configurations>$(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23;Release R24</Configurations>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -49,6 +49,10 @@
<RevitVersion>2023</RevitVersion>
<DefineConstants>$(DefineConstants);R23</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R24'))">
<RevitVersion>2024</RevitVersion>
<DefineConstants>$(DefineConstants);R24</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<Version>$(RevitVersion)</Version>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
Expand Down
8 changes: 6 additions & 2 deletions RpsRuntime/RpsRuntime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<EnableDefaultItems>false</EnableDefaultItems>
<PlatformTarget>x64</PlatformTarget>
<Configurations>Debug R22;Debug R23</Configurations>
<Configurations>$(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23</Configurations>
<Configurations>Debug R22;Debug R23;Debug R24</Configurations>
<Configurations>$(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23;Release R24</Configurations>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -43,6 +43,10 @@
<RevitVersion>2023</RevitVersion>
<DefineConstants>$(DefineConstants);R23</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R24'))">
<RevitVersion>2024</RevitVersion>
<DefineConstants>$(DefineConstants);R24</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<Version>$(RevitVersion)</Version>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
Expand Down

0 comments on commit 0fb62ee

Please sign in to comment.