Skip to content

Commit 0fb62ee

Browse files
authored
Merge pull request #145 from chuongmep/dev
Add support Revit 2024
2 parents 86bb941 + 1ba7a2c commit 0fb62ee

File tree

6 files changed

+36
-8
lines changed

6 files changed

+36
-8
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Changelog
2+
- 2023-04-14 **2.0.1**
3+
- Support Autodesk Revit version 2024.
24
- 2022-12-16 **2.0.0**
35
- Add support IronPython 3.4 [#136](https://github.com/architecture-building-systems/revitpythonshell/pull/136)
46
- Please follow [Upgrade from IronPython2 to IronPython 3](https://github.com/IronLanguages/ironpython3/blob/master/Documentation/upgrading-from-ipy2.md) to upgrade your code.

Installer/Installer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
const string projectName = "RevitPythonShell";
1313
const string outputName = "RevitPythonShell";
1414
const string outputDir = "output";
15-
const string version = "2.0.0";
15+
const string version = "2.0.1";
1616

1717
var fileName = new StringBuilder().Append(outputName).Append("-").Append(version);
1818
var project = new Project

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# RevitPythonShell
2-
![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)
2+
![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)
33

44
![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)
55

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

4242
## Installation
4343

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

4646
Older versions:
4747
- [Installer for Autodesk Revit 2022](https://github.com/architecture-building-systems/revitpythonshell/releases/download/2021.06.20/2021.06.20_Setup_RevitPythonShell_2022.exe)

RevitPythonShell.sln

+19-1
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ Global
2929
Debug|Any CPU = Debug|Any CPU
3030
Installer|Any CPU = Installer|Any CPU
3131
Debug R22|Any CPU = Debug R22|Any CPU
32-
Debug R23|Any CPU = Debug R23|Any CPU
32+
Debug R23|Any CPU = Debug R23|Any CPU
33+
Debug R24|Any CPU = Debug R24|Any CPU
3334
Release R18|Any CPU = Release R18|Any CPU
3435
Release R19|Any CPU = Release R19|Any CPU
3536
Release R20|Any CPU = Release R20|Any CPU
3637
Release R21|Any CPU = Release R21|Any CPU
3738
Release R22|Any CPU = Release R22|Any CPU
3839
Release R23|Any CPU = Release R23|Any CPU
40+
Release R24|Any CPU = Release R24|Any CPU
3941
EndGlobalSection
4042
GlobalSection(ProjectConfigurationPlatforms) = postSolution
4143
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -51,6 +53,8 @@ Global
5153
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Release R23|Any CPU.ActiveCfg = Release|Any CPU
5254
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Installer|Any CPU.ActiveCfg = Release|Any CPU
5355
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Installer|Any CPU.Build.0 = Release|Any CPU
56+
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Debug R24|Any CPU.ActiveCfg = Debug|Any CPU
57+
{B0FECFED-4451-4C7D-ACB7-59CC6F12FBAF}.Release R24|Any CPU.ActiveCfg = Release|Any CPU
5458
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
5559
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Debug|Any CPU.Build.0 = Debug|Any CPU
5660
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Debug R22|Any CPU.ActiveCfg = Debug|Any CPU
@@ -63,6 +67,8 @@ Global
6367
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Release R22|Any CPU.ActiveCfg = Release|Any CPU
6468
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Release R23|Any CPU.ActiveCfg = Release|Any CPU
6569
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Installer|Any CPU.ActiveCfg = Release|Any CPU
70+
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Debug R24|Any CPU.ActiveCfg = Debug|Any CPU
71+
{0DF5F952-C36B-4C97-B0CD-678C61093311}.Release R24|Any CPU.ActiveCfg = Release|Any CPU
6672
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
6773
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug|Any CPU.Build.0 = Debug|Any CPU
6874
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug R22|Any CPU.ActiveCfg = Debug|Any CPU
@@ -82,6 +88,10 @@ Global
8288
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Release R23|Any CPU.Build.0 = Release|Any CPU
8389
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug R23|Any CPU.Build.0 = Debug|Any CPU
8490
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Installer|Any CPU.ActiveCfg = Release|Any CPU
91+
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug R24|Any CPU.ActiveCfg = Debug|Any CPU
92+
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug R24|Any CPU.Build.0 = Debug|Any CPU
93+
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Release R24|Any CPU.ActiveCfg = Release|Any CPU
94+
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Release R24|Any CPU.Build.0 = Release|Any CPU
8595
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug|Any CPU.ActiveCfg = Debug R22|Any CPU
8696
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug|Any CPU.Build.0 = Debug R22|Any CPU
8797
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug R22|Any CPU.ActiveCfg = Debug R22|Any CPU
@@ -101,6 +111,10 @@ Global
101111
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Installer|Any CPU.ActiveCfg = Release R23|Any CPU
102112
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Release R22|Any CPU.ActiveCfg = Release R22|Any CPU
103113
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Release R22|Any CPU.Build.0 = Release R22|Any CPU
114+
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Release R24|Any CPU.ActiveCfg = Release R24|Any CPU
115+
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Release R24|Any CPU.Build.0 = Release R24|Any CPU
116+
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug R24|Any CPU.ActiveCfg = Debug R24|Any CPU
117+
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug R24|Any CPU.Build.0 = Debug R24|Any CPU
104118
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug|Any CPU.ActiveCfg = Debug R22|Any CPU
105119
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug|Any CPU.Build.0 = Debug R22|Any CPU
106120
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug R22|Any CPU.ActiveCfg = Debug R22|Any CPU
@@ -120,6 +134,10 @@ Global
120134
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Release R23|Any CPU.Build.0 = Release R23|Any CPU
121135
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug R23|Any CPU.Build.0 = Debug R23|Any CPU
122136
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Installer|Any CPU.ActiveCfg = Release R23|Any CPU
137+
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug R24|Any CPU.ActiveCfg = Debug R24|Any CPU
138+
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug R24|Any CPU.Build.0 = Debug R24|Any CPU
139+
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Release R24|Any CPU.ActiveCfg = Release R24|Any CPU
140+
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Release R24|Any CPU.Build.0 = Release R24|Any CPU
123141
EndGlobalSection
124142
GlobalSection(SolutionProperties) = preSolution
125143
HideSolutionNode = FALSE

RevitPythonShell/RevitPythonShell.csproj

+6-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<Authors>RIPS</Authors>
1313
<Description>Revit Python Shell addin for Revit</Description>
1414
<EnableDefaultItems>false</EnableDefaultItems>
15-
<Configurations>Debug R22;Debug R23</Configurations>
16-
<Configurations>$(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23</Configurations>
15+
<Configurations>Debug R22;Debug R23;Debug R24</Configurations>
16+
<Configurations>$(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23;Release R24</Configurations>
1717
</PropertyGroup>
1818
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
1919
<DebugSymbols>true</DebugSymbols>
@@ -49,6 +49,10 @@
4949
<RevitVersion>2023</RevitVersion>
5050
<DefineConstants>$(DefineConstants);R23</DefineConstants>
5151
</PropertyGroup>
52+
<PropertyGroup Condition="$(Configuration.Contains('R24'))">
53+
<RevitVersion>2024</RevitVersion>
54+
<DefineConstants>$(DefineConstants);R24</DefineConstants>
55+
</PropertyGroup>
5256
<PropertyGroup>
5357
<Version>$(RevitVersion)</Version>
5458
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>

RpsRuntime/RpsRuntime.csproj

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
77
<EnableDefaultItems>false</EnableDefaultItems>
88
<PlatformTarget>x64</PlatformTarget>
9-
<Configurations>Debug R22;Debug R23</Configurations>
10-
<Configurations>$(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23</Configurations>
9+
<Configurations>Debug R22;Debug R23;Debug R24</Configurations>
10+
<Configurations>$(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23;Release R24</Configurations>
1111
</PropertyGroup>
1212
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
1313
<DebugSymbols>true</DebugSymbols>
@@ -43,6 +43,10 @@
4343
<RevitVersion>2023</RevitVersion>
4444
<DefineConstants>$(DefineConstants);R23</DefineConstants>
4545
</PropertyGroup>
46+
<PropertyGroup Condition="$(Configuration.Contains('R24'))">
47+
<RevitVersion>2024</RevitVersion>
48+
<DefineConstants>$(DefineConstants);R24</DefineConstants>
49+
</PropertyGroup>
4650
<PropertyGroup>
4751
<Version>$(RevitVersion)</Version>
4852
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>

0 commit comments

Comments
 (0)