diff --git a/Output/2018.09.19_Setup_RevitPythonShell_2019.exe b/Output/2018.09.19_Setup_RevitPythonShell_2019.exe
new file mode 100644
index 0000000..8ff2243
Binary files /dev/null and b/Output/2018.09.19_Setup_RevitPythonShell_2019.exe differ
diff --git a/PythonConsoleControl/PythonConsoleControl.csproj b/PythonConsoleControl/PythonConsoleControl.csproj
index 1c26976..fe184c0 100644
--- a/PythonConsoleControl/PythonConsoleControl.csproj
+++ b/PythonConsoleControl/PythonConsoleControl.csproj
@@ -27,6 +27,7 @@
false
true
+ v4.7.2
v4.5
@@ -102,6 +103,18 @@
MinimumRecommendedRules.ruleset
false
+
+ false
+
+
+ true
+ bin\Debug 2019\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ prompt
+ MinimumRecommendedRules.ruleset
+
..\packages\AvalonEdit.5.0.4\lib\Net40\ICSharpCode.AvalonEdit.dll
diff --git a/PythonConsoleControl/packages.config b/PythonConsoleControl/packages.config
index 851dd43..8f22f0e 100644
--- a/PythonConsoleControl/packages.config
+++ b/PythonConsoleControl/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 8f3b841..da57b4b 100644
--- a/README.md
+++ b/README.md
@@ -83,7 +83,9 @@ This project is licensed under the terms of the [MIT License](http://opensource.
* Akimitsu Hogge (original port to Vasari)
* Joe Moorhouse (interactive shell was taken from his project [IronLab](http://ironlab.net/))
* Jason Schaeffer (port to Revit 2011)
+ * [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!
* [@DanRumery](https://github.com/danrumery) improved autocompletion with PR #59
+ * [Petr Mitev (@mitevp)](https://github.com/mitevpi) ported to Revit 2019 with RP #86
* many, many users with questions, bug reports etc!
Also, many thanks to the
diff --git a/RequiredLibraries/Revit2019/RevitAPI.dll b/RequiredLibraries/Revit2019/RevitAPI.dll
new file mode 100644
index 0000000..81b4e34
Binary files /dev/null and b/RequiredLibraries/Revit2019/RevitAPI.dll differ
diff --git a/RequiredLibraries/Revit2019/RevitAPIUI.dll b/RequiredLibraries/Revit2019/RevitAPIUI.dll
new file mode 100644
index 0000000..77811bc
Binary files /dev/null and b/RequiredLibraries/Revit2019/RevitAPIUI.dll differ
diff --git a/RevitPythonShell.sln b/RevitPythonShell.sln
index a6a7b41..ee6a881 100644
--- a/RevitPythonShell.sln
+++ b/RevitPythonShell.sln
@@ -20,6 +20,7 @@ Global
Debug 2016|Any CPU = Debug 2016|Any CPU
Debug 2017|Any CPU = Debug 2017|Any CPU
Debug 2018|Any CPU = Debug 2018|Any CPU
+ Debug 2019|Any CPU = Debug 2019|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2014|Any CPU.ActiveCfg = Debug 2014|Any CPU
@@ -32,16 +33,20 @@ Global
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2017|Any CPU.Build.0 = Debug 2017|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2018|Any CPU.ActiveCfg = Debug 2018|Any CPU
{7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2018|Any CPU.Build.0 = Debug 2018|Any CPU
+ {7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2019|Any CPU.ActiveCfg = Debug 2019|Any CPU
+ {7E37F14E-D840-42F8-8CA6-90FFC5497972}.Debug 2019|Any CPU.Build.0 = Debug 2019|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2014|Any CPU.ActiveCfg = Debug|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2014|Any CPU.Build.0 = Debug|Any CPU
- {F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2015|Any CPU.ActiveCfg = Debug 2015|Any CPU
- {F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2015|Any CPU.Build.0 = Debug 2015|Any CPU
+ {F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2015|Any CPU.ActiveCfg = Debug|Any CPU
+ {F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2015|Any CPU.Build.0 = Debug|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2016|Any CPU.ActiveCfg = Debug 2016|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2016|Any CPU.Build.0 = Debug 2016|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2017|Any CPU.ActiveCfg = Debug 2017|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2017|Any CPU.Build.0 = Debug 2017|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2018|Any CPU.ActiveCfg = Debug 2018|Any CPU
{F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2018|Any CPU.Build.0 = Debug 2018|Any CPU
+ {F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2019|Any CPU.ActiveCfg = Debug 2019|Any CPU
+ {F1152D68-346B-4F48-8DB7-BE67B5CB1F49}.Debug 2019|Any CPU.Build.0 = Debug 2019|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2014|Any CPU.ActiveCfg = Debug 2014|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2014|Any CPU.Build.0 = Debug 2014|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2015|Any CPU.ActiveCfg = Debug 2015|Any CPU
@@ -52,6 +57,8 @@ Global
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2017|Any CPU.Build.0 = Debug 2017|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2018|Any CPU.ActiveCfg = Debug 2018|Any CPU
{C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2018|Any CPU.Build.0 = Debug 2018|Any CPU
+ {C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2019|Any CPU.ActiveCfg = Debug 2019|Any CPU
+ {C8446636-C663-409F-82D0-72C0D55BBA1C}.Debug 2019|Any CPU.Build.0 = Debug 2019|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/RevitPythonShell/Properties/Resources.Designer.cs b/RevitPythonShell/Properties/Resources.Designer.cs
index 5ccc5fb..e07fe0b 100644
--- a/RevitPythonShell/Properties/Resources.Designer.cs
+++ b/RevitPythonShell/Properties/Resources.Designer.cs
@@ -19,7 +19,7 @@ namespace RevitPythonShell.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
diff --git a/RevitPythonShell/RevitPythonShell.csproj b/RevitPythonShell/RevitPythonShell.csproj
index 2d5984d..bd45409 100644
--- a/RevitPythonShell/RevitPythonShell.csproj
+++ b/RevitPythonShell/RevitPythonShell.csproj
@@ -32,7 +32,6 @@
false
true
- v4.6
@@ -41,7 +40,7 @@
- v4.5
+ v4.7.2
v4.5
@@ -55,6 +54,9 @@
v4.6
+
+ v4.7.2
+
true
full
@@ -124,22 +126,15 @@
MinimumRecommendedRules.ruleset
false
-
-
- ..\RequiredLibraries\Revit2014\RevitAPI.dll
-
-
- ..\RequiredLibraries\Revit2014\RevitAPIUI.dll
-
-
-
-
- ..\RequiredLibraries\Revit2015\RevitAPI.dll
-
-
- ..\RequiredLibraries\Revit2015\RevitAPIUI.dll
-
-
+
+ true
+ bin\Debug 2019\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ prompt
+ MinimumRecommendedRules.ruleset
+
..\RequiredLibraries\Revit2016\RevitAPI.dll
@@ -164,6 +159,14 @@
..\RequiredLibraries\Revit2018\RevitAPIUI.dll
+
+
+ ..\RequiredLibraries\Revit2019\RevitAPI.dll
+
+
+ ..\RequiredLibraries\Revit2019\RevitAPIUI.dll
+
+
..\packages\AvalonEdit.5.0.4\lib\Net40\ICSharpCode.AvalonEdit.dll
@@ -193,9 +196,6 @@
..\PythonConsoleControl\bin\Debug 2018\PythonConsoleControl.dll
-
- ..\RpsRuntime\bin\Debug 2018\RpsRuntime.dll
-
3.5
@@ -254,6 +254,7 @@
+
@@ -270,7 +271,6 @@
-
diff --git a/RevitPythonShell/packages.config b/RevitPythonShell/packages.config
index 851dd43..207adf6 100644
--- a/RevitPythonShell/packages.config
+++ b/RevitPythonShell/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/RpsRuntime/RpsRuntime.csproj b/RpsRuntime/RpsRuntime.csproj
index a8359f7..7e99d95 100644
--- a/RpsRuntime/RpsRuntime.csproj
+++ b/RpsRuntime/RpsRuntime.csproj
@@ -9,7 +9,6 @@
RevitPythonShell.RpsRuntime
RpsRuntime
512
-
@@ -18,7 +17,7 @@
- v4.5
+ v4.7.2
v4.5
@@ -32,6 +31,9 @@
v4.6
+
+ v4.7.2
+
true
bin\Debug 2014\
@@ -82,22 +84,15 @@
MinimumRecommendedRules.ruleset
false
-
-
- ..\RequiredLibraries\Revit2014\RevitAPI.dll
-
-
- ..\RequiredLibraries\Revit2014\RevitAPIUI.dll
-
-
-
-
- ..\RequiredLibraries\Revit2015\RevitAPI.dll
-
-
- ..\RequiredLibraries\Revit2015\RevitAPIUI.dll
-
-
+
+ true
+ bin\Debug 2019\
+ DEBUG;TRACE
+ full
+ AnyCPU
+ prompt
+ MinimumRecommendedRules.ruleset
+
..\RequiredLibraries\Revit2016\RevitAPI.dll
@@ -122,6 +117,14 @@
..\RequiredLibraries\Revit2018\RevitAPIUI.dll
+
+
+ ..\RequiredLibraries\Revit2019\RevitAPI.dll
+
+
+ ..\RequiredLibraries\Revit2019\RevitAPIUI.dll
+
+
..\packages\AvalonEdit.5.0.4\lib\Net40\ICSharpCode.AvalonEdit.dll
@@ -148,6 +151,14 @@
..\RequiredLibraries\Microsoft.Scripting.Metadata.dll
+
+ ..\RequiredLibraries\Revit2019\RevitAPI.dll
+ False
+
+
+ ..\RequiredLibraries\Revit2019\RevitAPIUI.dll
+ False
+
diff --git a/RpsRuntime/packages.config b/RpsRuntime/packages.config
index 851dd43..207adf6 100644
--- a/RpsRuntime/packages.config
+++ b/RpsRuntime/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/Setup_RevitPythonShell_2019.iss b/Setup_RevitPythonShell_2019.iss
new file mode 100644
index 0000000..65c63b7
--- /dev/null
+++ b/Setup_RevitPythonShell_2019.iss
@@ -0,0 +1,59 @@
+[Files]
+Source: "RevitPythonShell\bin\Debug 2019\PythonConsoleControl.dll"; DestDir: "{app}"; Flags: replacesameversion
+Source: "RevitPythonShell\bin\Debug 2019\RevitPythonShell.dll"; DestDir: "{app}"; Flags: replacesameversion
+Source: "RevitPythonShell\bin\Debug 2019\RpsRuntime.dll"; DestDir: "{app}"; Flags: replacesameversion
+Source: "packages\AvalonEdit.5.0.4\lib\Net40\ICSharpCode.AvalonEdit.dll"; DestDir: "{app}"
+Source: "RequiredLibraries\IronPython.dll"; DestDir: "{app}"
+Source: "RequiredLibraries\IronPython.Modules.dll"; DestDir: "{app}"
+Source: "RequiredLibraries\Microsoft.Scripting.Metadata.dll"; DestDir: "{app}"
+Source: "RequiredLibraries\Microsoft.Dynamic.dll"; DestDir: "{app}"
+Source: "RequiredLibraries\Microsoft.Scripting.dll"; DestDir: "{app}"
+Source: "RevitPythonShell\DefaultConfig\RevitPythonShell.xml"; DestDir: "{userappdata}\RevitPythonShell2019"; Flags: onlyifdoesntexist
+Source: RevitPythonShell\DefaultConfig\init.py; DestDir: {userappdata}\RevitPythonShell2019; Flags: confirmoverwrite;
+Source: RevitPythonShell\DefaultConfig\startup.py; DestDir: {userappdata}\RevitPythonShell2019; Flags: confirmoverwrite;
+
+[code]
+{ HANDLE INSTALL PROCESS STEPS }
+procedure CurStepChanged(CurStep: TSetupStep);
+var
+ AddInFilePath: String;
+ AddInFileContents: String;
+begin
+
+ if CurStep = ssPostInstall then
+ begin
+
+ { GET LOCATION OF USER AppData (Roaming) }
+ AddInFilePath := ExpandConstant('{userappdata}\Autodesk\Revit\Addins\2019\RevitPythonShell2019.addin');
+
+ { CREATE NEW ADDIN FILE }
+ AddInFileContents := '' + #13#10;
+ AddInFileContents := AddInFileContents + '' + #13#10;
+ AddInFileContents := AddInFileContents + ' ' + #13#10;
+ AddInFileContents := AddInFileContents + ' RevitPythonShell' + #13#10;
+ AddInFileContents := AddInFileContents + ' ' + ExpandConstant('{app}') + '\RevitPythonShell.dll' + #13#10;
+ AddInFileContents := AddInFileContents + ' 3a7a1d24-51ed-462b-949f-1ddcca12008d' + #13#10;
+ AddInFileContents := AddInFileContents + ' RevitPythonShell.RevitPythonShellApplication' + #13#10;
+ AddInFileContents := AddInFileContents + ' RIPS' + #13#10;
+ AddInFileContents := AddInFileContents + ' ' + #13#10;
+ AddInFileContents := AddInFileContents + '' + #13#10;
+ SaveStringToFile(AddInFilePath, AddInFileContents, False);
+
+ end;
+end;
+
+
+[Setup]
+AppName=RevitPythonShell for Autodesk Revit 2019
+AppVerName=RevitPythonShell for Autodesk Revit 2019
+RestartIfNeededByRun=false
+DefaultDirName={pf32}\RevitPythonShell2019
+OutputBaseFilename=Setup_RevitPythonShell_2019
+ShowLanguageDialog=auto
+FlatComponentsList=false
+UninstallFilesDir={app}\Uninstall
+UninstallDisplayName=RevitPythonShell for Autodesk Revit 2019
+AppVersion=2019.0
+VersionInfoVersion=2019.0
+VersionInfoDescription=RevitPythonShell for Autodesk Revit 2019
+VersionInfoTextVersion=RevitPythonShell for Autodesk Revit 2019