Skip to content

Commit 20ac84e

Browse files
committed
2019 Additions
Addition of Visual Studio files for Revit 2019 release. Updated Installer to include 2019 as well.
1 parent 9c76865 commit 20ac84e

File tree

950 files changed

+169031
-606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

950 files changed

+169031
-606
lines changed

2015/Case.FreeBenchmarking/Case.FreeBenchmarking/Case.FreeBenchmarking.vbproj

+4-12
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,12 @@
4545
</PropertyGroup>
4646
<ItemGroup>
4747
<Reference Include="PresentationCore" />
48-
<Reference Include="RevitAPI, Version=2011.0.0.0, Culture=neutral, processorArchitecture=x86">
49-
<SpecificVersion>False</SpecificVersion>
50-
<HintPath>C:\Program Files\Autodesk\Revit 2015\RevitAPI.dll</HintPath>
48+
<Reference Include="RevitAPI">
49+
<HintPath>C:\Program Files\Autodesk\Revit 2018\RevitAPI.dll</HintPath>
5150
<Private>False</Private>
5251
</Reference>
53-
<Reference Include="RevitAPIUI, Version=2011.0.0.0, Culture=neutral, processorArchitecture=x86">
54-
<SpecificVersion>False</SpecificVersion>
55-
<HintPath>C:\Program Files\Autodesk\Revit 2015\RevitAPIUI.dll</HintPath>
52+
<Reference Include="RevitAPIUI">
53+
<HintPath>C:\Program Files\Autodesk\Revit 2018\RevitAPIUI.dll</HintPath>
5654
<Private>False</Private>
5755
</Reference>
5856
<Reference Include="System" />
@@ -108,12 +106,6 @@
108106
<DependentUpon>form_Main.vb</DependentUpon>
109107
</EmbeddedResource>
110108
</ItemGroup>
111-
<ItemGroup>
112-
<ProjectReference Include="..\..\..\..\03 - Subscription\Case.Lic\Case.Lic\Case.Lic.vbproj">
113-
<Project>{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}</Project>
114-
<Name>Case.Lic</Name>
115-
</ProjectReference>
116-
</ItemGroup>
117109
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
118110
<PropertyGroup>
119111
<PostBuildEvent>

2018/Case.FreeBenchmarking/Case.FreeBenchmarking/Case.FreeBenchmarking.vbproj

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,11 +12,12 @@
1212
<RootNamespace>Case.FreeBenchmarking</RootNamespace>
1313
<FileAlignment>512</FileAlignment>
1414
<MyType>Windows</MyType>
15-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
15+
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
1616
<OptionExplicit>On</OptionExplicit>
1717
<OptionCompare>Binary</OptionCompare>
1818
<OptionStrict>Off</OptionStrict>
1919
<OptionInfer>On</OptionInfer>
20+
<TargetFrameworkProfile />
2021
</PropertyGroup>
2122
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2223
<DebugSymbols>true</DebugSymbols>
@@ -28,6 +29,7 @@
2829
<NoWarn>42017,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
2930
<StartAction>Program</StartAction>
3031
<StartProgram>C:\Program Files\Autodesk\Revit 2018\Revit.exe</StartProgram>
32+
<Prefer32Bit>false</Prefer32Bit>
3133
</PropertyGroup>
3234
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3335
<DebugType>pdbonly</DebugType>
@@ -39,6 +41,7 @@
3941
<NoWarn>42017,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
4042
<StartAction>Program</StartAction>
4143
<StartProgram>C:\Program Files\Autodesk\Revit 2018\Revit.exe</StartProgram>
44+
<Prefer32Bit>false</Prefer32Bit>
4245
</PropertyGroup>
4346
<PropertyGroup>
4447
<AssemblyName>Case.FreeBenchmarking</AssemblyName>
@@ -108,12 +111,6 @@
108111
<DependentUpon>form_Main.vb</DependentUpon>
109112
</EmbeddedResource>
110113
</ItemGroup>
111-
<ItemGroup>
112-
<ProjectReference Include="..\..\..\..\03 - Subscription\Case.Lic\Case.Lic\Case.Lic.vbproj">
113-
<Project>{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}</Project>
114-
<Name>Case.Lic</Name>
115-
</ProjectReference>
116-
</ItemGroup>
117114
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
118115
<PropertyGroup>
119116
<PostBuildEvent>

2018/Case.FreeBenchmarking/Case.FreeBenchmarking/Classes/Entry/cmd.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Public Class cmd
2222
Try
2323

2424
' Version
25-
If Not commandData.Application.Application.VersionName.Contains("2014") Then
25+
If Not commandData.Application.Application.VersionName.Contains("2018") Then
2626

2727
' Failure
28-
message = "This Add-In was built for Revit 2014, please contact CASE for assistance..."
28+
message = "This Add-In was built for Revit 2018, please contact CASE for assistance..."
2929
Return Result.Failed
3030

3131
End If

2018/Case.FreeBenchmarking/Case.FreeBenchmarking/Classes/clsAutomationTest.vb

+10-10
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Public Class clsAutomationTest
3939

4040
Try
4141

42-
Dim m_level As Level = _s.Doc.Create.NewLevel(i)
42+
Dim m_level As Level = Level.Create(_s.Doc,i)
4343
m_level.Name = Environment.UserName & " Level " & i.ToString
4444
_s.GetLevels()
4545

@@ -72,10 +72,10 @@ Public Class clsAutomationTest
7272
Dim pt2 As New XYZ(0, 9, 0)
7373
Dim pt3 As New XYZ(9, 9, 0)
7474
Dim pt4 As New XYZ(9, 0, 0)
75-
Dim m_line1 As Line = _s.CommandData.Application.Application.Create.NewLine(pt1, pt2, True)
76-
Dim m_line2 As Line = _s.CommandData.Application.Application.Create.NewLine(pt2, pt3, True)
77-
Dim m_line3 As Line = _s.CommandData.Application.Application.Create.NewLine(pt3, pt4, True)
78-
Dim m_line4 As Line = _s.CommandData.Application.Application.Create.NewLine(pt4, pt1, True)
75+
Dim m_line1 As Line = Line.CreateBound(pt1, pt2)
76+
Dim m_line2 As Line = Line.CreateBound(pt2, pt3)
77+
Dim m_line3 As Line = Line.CreateBound(pt3, pt4)
78+
Dim m_line4 As Line = Line.CreateBound(pt4, pt1)
7979

8080
' First Wall type
8181
Dim m_wt As WallType = _s.FirstWallType
@@ -90,13 +90,13 @@ Public Class clsAutomationTest
9090
If Not m_wt Is Nothing And Not m_level Is Nothing Then
9191

9292
' Create the Walls and Room
93-
Dim w As Wall = _s.Doc.Create.NewWall(m_line1, m_wt, m_level, 10, m_level.Elevation, False, False)
93+
Dim w As Wall = Wall.Create(_s.Doc,m_line1,m_wt.Id,m_level.Id,10.0,m_level.Elevation,False,false)
9494
m_elements1.Add(w.Id)
95-
w = _s.Doc.Create.NewWall(m_line2, m_wt, m_level, 10, m_level.Elevation, False, False)
95+
w = Wall.Create(_s.Doc,m_line2,m_wt.Id,m_level.Id,10.0,m_level.Elevation,False,false)
9696
m_elements1.Add(w.Id)
97-
w = _s.Doc.Create.NewWall(m_line3, m_wt, m_level, 10, m_level.Elevation, False, False)
97+
w = Wall.Create(_s.Doc,m_line3,m_wt.Id,m_level.Id,10.0,m_level.Elevation,False,false)
9898
m_elements1.Add(w.Id)
99-
w = _s.Doc.Create.NewWall(m_line4, m_wt, m_level, 10, m_level.Elevation, False, False)
99+
w = Wall.Create(_s.Doc,m_line4,m_wt.Id,m_level.Id,10.0,m_level.Elevation,False,false)
100100
m_elements1.Add(w.Id)
101101

102102
' Place Room
@@ -158,7 +158,7 @@ Public Class clsAutomationTest
158158
' Group the Collection
159159
Dim m_eset As New ElementSet
160160
For Each x In m_elements1
161-
m_eset.Insert(_s.Doc.Element(x))
161+
m_eset.Insert(_s.Doc.GetElement(x))
162162
Next
163163

164164
' Group It
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 2012
4-
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Case.Subs.RoomsToMass", "Case.Subs.RoomsToMass\Case.Subs.RoomsToMass.vbproj", "{F3413874-FD92-4F33-B1DB-541B26C1CC62}"
5-
EndProject
6-
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Case.Lic", "..\..\Case.Lic\Case.Lic\Case.Lic.vbproj", "{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}"
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27130.2027
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Case.Subs.RoomsToMass", "Case.Subs.RoomsToMass\Case.Subs.RoomsToMass.vbproj", "{B999792D-9486-46F8-90A5-39D8804D2577}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -15,28 +15,21 @@ Global
1515
Release|x86 = Release|x86
1616
EndGlobalSection
1717
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Debug|Any CPU.Build.0 = Debug|Any CPU
20-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
21-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
22-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Debug|x86.ActiveCfg = Debug|Any CPU
23-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Release|Any CPU.ActiveCfg = Release|Any CPU
24-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Release|Any CPU.Build.0 = Release|Any CPU
25-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
26-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Release|Mixed Platforms.Build.0 = Release|Any CPU
27-
{F3413874-FD92-4F33-B1DB-541B26C1CC62}.Release|x86.ActiveCfg = Release|Any CPU
28-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Debug|Any CPU.Build.0 = Debug|Any CPU
30-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
31-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
32-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Debug|x86.ActiveCfg = Debug|Any CPU
33-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Release|Any CPU.ActiveCfg = Release|Any CPU
34-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Release|Any CPU.Build.0 = Release|Any CPU
35-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
36-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Release|Mixed Platforms.Build.0 = Release|Any CPU
37-
{7AC4A9CB-0628-4E27-89DB-8B0D8C0D2E35}.Release|x86.ActiveCfg = Release|Any CPU
18+
{B999792D-9486-46F8-90A5-39D8804D2577}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19+
{B999792D-9486-46F8-90A5-39D8804D2577}.Debug|Any CPU.Build.0 = Debug|Any CPU
20+
{B999792D-9486-46F8-90A5-39D8804D2577}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
21+
{B999792D-9486-46F8-90A5-39D8804D2577}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
22+
{B999792D-9486-46F8-90A5-39D8804D2577}.Debug|x86.ActiveCfg = Debug|Any CPU
23+
{B999792D-9486-46F8-90A5-39D8804D2577}.Release|Any CPU.ActiveCfg = Release|Any CPU
24+
{B999792D-9486-46F8-90A5-39D8804D2577}.Release|Any CPU.Build.0 = Release|Any CPU
25+
{B999792D-9486-46F8-90A5-39D8804D2577}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
26+
{B999792D-9486-46F8-90A5-39D8804D2577}.Release|Mixed Platforms.Build.0 = Release|Any CPU
27+
{B999792D-9486-46F8-90A5-39D8804D2577}.Release|x86.ActiveCfg = Release|Any CPU
3828
EndGlobalSection
3929
GlobalSection(SolutionProperties) = preSolution
4030
HideSolutionNode = FALSE
4131
EndGlobalSection
32+
GlobalSection(ExtensibilityGlobals) = postSolution
33+
SolutionGuid = {AAB5AA68-EDC1-4394-B19C-B0B6A99B239C}
34+
EndGlobalSection
4235
EndGlobal

0 commit comments

Comments
 (0)