Skip to content

Commit 29891a9

Browse files
authored
Merge pull request #86 from mitevpi/master
Added Revit 2019 Installer & Recompiled for 2019 API.
2 parents 2111975 + 75f28f8 commit 29891a9

File tree

13 files changed

+138
-46
lines changed

13 files changed

+138
-46
lines changed
Binary file not shown.

PythonConsoleControl/PythonConsoleControl.csproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<UseApplicationTrust>false</UseApplicationTrust>
2828
<BootstrapperEnabled>true</BootstrapperEnabled>
2929
<TargetFrameworkProfile />
30+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
3031
</PropertyGroup>
3132
<PropertyGroup Condition="'$(Configuration)' == 'Debug 2014'">
3233
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
@@ -102,6 +103,18 @@
102103
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
103104
<Prefer32Bit>false</Prefer32Bit>
104105
</PropertyGroup>
106+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug 2014|AnyCPU'">
107+
<Prefer32Bit>false</Prefer32Bit>
108+
</PropertyGroup>
109+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug 2019|AnyCPU'">
110+
<DebugSymbols>true</DebugSymbols>
111+
<OutputPath>bin\Debug 2019\</OutputPath>
112+
<DefineConstants>DEBUG;TRACE</DefineConstants>
113+
<DebugType>full</DebugType>
114+
<PlatformTarget>AnyCPU</PlatformTarget>
115+
<ErrorReport>prompt</ErrorReport>
116+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
117+
</PropertyGroup>
105118
<ItemGroup>
106119
<Reference Include="ICSharpCode.AvalonEdit, Version=5.0.3.0, Culture=neutral, PublicKeyToken=9cc39be672370310, processorArchitecture=MSIL">
107120
<HintPath>..\packages\AvalonEdit.5.0.4\lib\Net40\ICSharpCode.AvalonEdit.dll</HintPath>

PythonConsoleControl/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="AvalonEdit" version="5.0.4" targetFramework="net46" />
3+
<package id="AvalonEdit" version="5.0.4" targetFramework="net40" />
44
</packages>

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ This project is licensed under the terms of the [MIT License](http://opensource.
8383
* Akimitsu Hogge (original port to Vasari)
8484
* Joe Moorhouse (interactive shell was taken from his project [IronLab](http://ironlab.net/))
8585
* Jason Schaeffer (port to Revit 2011)
86+
* [Ehsan Iran-Nejad (@eirannejad)](https://github.com/eirannejad) countless improvements, the awesome [pyRevit](https://github.com/eirannejad/pyRevit) tool and a special thanks for helping maintain RPS!
8687
* [@DanRumery](https://github.com/danrumery) improved autocompletion with PR #59
88+
* [Petr Mitev (@mitevp)](https://github.com/mitevpi) ported to Revit 2019 with RP #86
8789
* many, many users with questions, bug reports etc!
8890

8991
Also, many thanks to the
26.5 MB
Binary file not shown.
2.68 MB
Binary file not shown.

RevitPythonShell.sln

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Global
2020
Debug 2016|Any CPU = Debug 2016|Any CPU
2121
Debug 2017|Any CPU = Debug 2017|Any CPU
2222
Debug 2018|Any CPU = Debug 2018|Any CPU
23+
Debug 2019|Any CPU = Debug 2019|Any CPU
2324
EndGlobalSection
2425
GlobalSection(ProjectConfigurationPlatforms) = postSolution
2526
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2014|Any CPU.ActiveCfg = Debug 2014|Any CPU
@@ -32,16 +33,20 @@ Global
3233
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2017|Any CPU.Build.0 = Debug 2017|Any CPU
3334
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2018|Any CPU.ActiveCfg = Debug 2018|Any CPU
3435
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2018|Any CPU.Build.0 = Debug 2018|Any CPU
36+
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2019|Any CPU.ActiveCfg = Debug 2019|Any CPU
37+
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2019|Any CPU.Build.0 = Debug 2019|Any CPU
3538
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2014|Any CPU.ActiveCfg = Debug|Any CPU
3639
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2014|Any CPU.Build.0 = Debug|Any CPU
37-
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2015|Any CPU.ActiveCfg = Debug 2015|Any CPU
38-
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2015|Any CPU.Build.0 = Debug 2015|Any CPU
40+
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2015|Any CPU.ActiveCfg = Debug|Any CPU
41+
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2015|Any CPU.Build.0 = Debug|Any CPU
3942
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2016|Any CPU.ActiveCfg = Debug 2016|Any CPU
4043
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2016|Any CPU.Build.0 = Debug 2016|Any CPU
4144
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2017|Any CPU.ActiveCfg = Debug 2017|Any CPU
4245
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2017|Any CPU.Build.0 = Debug 2017|Any CPU
4346
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2018|Any CPU.ActiveCfg = Debug 2018|Any CPU
4447
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2018|Any CPU.Build.0 = Debug 2018|Any CPU
48+
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2019|Any CPU.ActiveCfg = Debug 2019|Any CPU
49+
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2019|Any CPU.Build.0 = Debug 2019|Any CPU
4550
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2014|Any CPU.ActiveCfg = Debug 2014|Any CPU
4651
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2014|Any CPU.Build.0 = Debug 2014|Any CPU
4752
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2015|Any CPU.ActiveCfg = Debug 2015|Any CPU
@@ -52,6 +57,8 @@ Global
5257
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2017|Any CPU.Build.0 = Debug 2017|Any CPU
5358
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2018|Any CPU.ActiveCfg = Debug 2018|Any CPU
5459
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2018|Any CPU.Build.0 = Debug 2018|Any CPU
60+
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2019|Any CPU.ActiveCfg = Debug 2019|Any CPU
61+
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2019|Any CPU.Build.0 = Debug 2019|Any CPU
5562
EndGlobalSection
5663
GlobalSection(SolutionProperties) = preSolution
5764
HideSolutionNode = FALSE

RevitPythonShell/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RevitPythonShell/RevitPythonShell.csproj

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
<UseApplicationTrust>false</UseApplicationTrust>
3333
<BootstrapperEnabled>true</BootstrapperEnabled>
3434
<TargetFrameworkProfile />
35-
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
3635
</PropertyGroup>
3736
<PropertyGroup>
3837
<!-- see: http://thebuildingcoder.typepad.com/blog/2013/06/processor-architecture-mismatch-warning.html -->
@@ -41,7 +40,7 @@
4140
</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
4241
</PropertyGroup>
4342
<PropertyGroup Condition="'$(Configuration)' == 'Debug 2014'">
44-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
43+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
4544
</PropertyGroup>
4645
<PropertyGroup Condition="'$(Configuration)' == 'Debug 2015'">
4746
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
@@ -55,6 +54,9 @@
5554
<PropertyGroup Condition="'$(Configuration)' == 'Debug 2018'">
5655
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
5756
</PropertyGroup>
57+
<PropertyGroup Condition="'$(Configuration)' == 'Debug 2019'">
58+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
59+
</PropertyGroup>
5860
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
5961
<DebugSymbols>true</DebugSymbols>
6062
<DebugType>full</DebugType>
@@ -124,22 +126,15 @@
124126
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
125127
<Prefer32Bit>false</Prefer32Bit>
126128
</PropertyGroup>
127-
<ItemGroup Condition="'$(Configuration)' == 'Debug 2014'">
128-
<Reference Include="RevitAPI">
129-
<HintPath>..\RequiredLibraries\Revit2014\RevitAPI.dll</HintPath>
130-
</Reference>
131-
<Reference Include="RevitAPIUI">
132-
<HintPath>..\RequiredLibraries\Revit2014\RevitAPIUI.dll</HintPath>
133-
</Reference>
134-
</ItemGroup>
135-
<ItemGroup Condition="'$(Configuration)' == 'Debug 2015'">
136-
<Reference Include="RevitAPI">
137-
<HintPath>..\RequiredLibraries\Revit2015\RevitAPI.dll</HintPath>
138-
</Reference>
139-
<Reference Include="RevitAPIUI">
140-
<HintPath>..\RequiredLibraries\Revit2015\RevitAPIUI.dll</HintPath>
141-
</Reference>
142-
</ItemGroup>
129+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug 2019|AnyCPU'">
130+
<DebugSymbols>true</DebugSymbols>
131+
<OutputPath>bin\Debug 2019\</OutputPath>
132+
<DefineConstants>DEBUG;TRACE</DefineConstants>
133+
<DebugType>full</DebugType>
134+
<PlatformTarget>AnyCPU</PlatformTarget>
135+
<ErrorReport>prompt</ErrorReport>
136+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
137+
</PropertyGroup>
143138
<ItemGroup Condition="'$(Configuration)' == 'Debug 2016'">
144139
<Reference Include="RevitAPI">
145140
<HintPath>..\RequiredLibraries\Revit2016\RevitAPI.dll</HintPath>
@@ -164,6 +159,14 @@
164159
<HintPath>..\RequiredLibraries\Revit2018\RevitAPIUI.dll</HintPath>
165160
</Reference>
166161
</ItemGroup>
162+
<ItemGroup Condition="'$(Configuration)' == 'Debug 2019'">
163+
<Reference Include="RevitAPI">
164+
<HintPath>..\RequiredLibraries\Revit2019\RevitAPI.dll</HintPath>
165+
</Reference>
166+
<Reference Include="RevitAPIUI">
167+
<HintPath>..\RequiredLibraries\Revit2019\RevitAPIUI.dll</HintPath>
168+
</Reference>
169+
</ItemGroup>
167170
<ItemGroup>
168171
<Reference Include="ICSharpCode.AvalonEdit, Version=5.0.3.0, Culture=neutral, PublicKeyToken=9cc39be672370310, processorArchitecture=MSIL">
169172
<HintPath>..\packages\AvalonEdit.5.0.4\lib\Net40\ICSharpCode.AvalonEdit.dll</HintPath>
@@ -193,9 +196,6 @@
193196
<Reference Include="PythonConsoleControl">
194197
<HintPath>..\PythonConsoleControl\bin\Debug 2018\PythonConsoleControl.dll</HintPath>
195198
</Reference>
196-
<Reference Include="RpsRuntime">
197-
<HintPath>..\RpsRuntime\bin\Debug 2018\RpsRuntime.dll</HintPath>
198-
</Reference>
199199
<Reference Include="System" />
200200
<Reference Include="System.Core">
201201
<RequiredTargetFramework>3.5</RequiredTargetFramework>
@@ -254,6 +254,7 @@
254254
</EmbeddedResource>
255255
</ItemGroup>
256256
<ItemGroup>
257+
<None Include="packages.config" />
257258
<Resource Include="Resources\Theme\Redo.png" />
258259
<Resource Include="Resources\Theme\Run.png" />
259260
<Resource Include="Resources\Theme\Save.png" />
@@ -270,7 +271,6 @@
270271
<Content Include="DefaultConfig\startup.py" />
271272
<None Include="Examples\HelloWorld.iss" />
272273
<Content Include="DefaultConfig\init.py" />
273-
<None Include="packages.config" />
274274
<EmbeddedResource Include="Resources\CreateWall.png" />
275275
<Content Include="Examples\helloworld.py" />
276276
<Content Include="Examples\HelloWorld.xml">

RevitPythonShell/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="AvalonEdit" version="5.0.4" targetFramework="net46" />
3+
<package id="AvalonEdit" version="5.0.4" targetFramework="net45" />
44
</packages>

0 commit comments

Comments
 (0)