From afaf9b3fa1fcc3e20f00fb31861fddcfc6b28e4a Mon Sep 17 00:00:00 2001 From: Jeremy Tammik Date: Mon, 11 Jan 2021 19:37:07 +0100 Subject: [PATCH] removed unit related deprecated api calls --- Labs/1_Revit_API_Intro/SourceCS/Properties/AssemblyInfo.cs | 4 ++-- Labs/1_Revit_API_Intro/SourceVB/1_HelloWorld.vb | 2 +- Labs/1_Revit_API_Intro/SourceVB/2_DbElement.vb | 2 +- Labs/1_Revit_API_Intro/SourceVB/3_ElementFiltering.vb | 2 +- Labs/1_Revit_API_Intro/SourceVB/4_ElementModification.vb | 2 +- Labs/1_Revit_API_Intro/SourceVB/5_ModelCreation.vb | 2 +- Labs/1_Revit_API_Intro/SourceVB/5_ModelCreationExport.vb | 2 +- Labs/1_Revit_API_Intro/SourceVB/6_ExtensibleStorage.vb | 2 +- Labs/1_Revit_API_Intro/SourceVB/7_SharedParameter.vb | 2 +- Labs/1_Revit_API_Intro/SourceVB/My Project/AssemblyInfo.vb | 6 +++--- Labs/1_Revit_API_Intro/SourceVB/Util.vb | 2 +- Labs/2_Revit_UI_API/SourceCS/Properties/AssemblyInfo.cs | 4 ++-- Labs/2_Revit_UI_API/SourceVB/1_Ribbon.vb | 2 +- Labs/2_Revit_UI_API/SourceVB/2_Selection.vb | 2 +- Labs/2_Revit_UI_API/SourceVB/3_TaskDialog.vb | 2 +- Labs/2_Revit_UI_API/SourceVB/4_Event.vb | 2 +- Labs/2_Revit_UI_API/SourceVB/My Project/AssemblyInfo.vb | 6 +++--- Labs/3_Revit_Family_API/SourceCS/Properties/AssemblyInfo.cs | 4 ++-- Labs/3_Revit_Family_API/SourceVB/1_ColumnRectangle.vb | 2 +- Labs/3_Revit_Family_API/SourceVB/2_ColumnLshape.vb | 2 +- Labs/3_Revit_Family_API/SourceVB/3_ColumnFormulaMaterial.vb | 2 +- Labs/3_Revit_Family_API/SourceVB/4_ColumnVisibility.vb | 2 +- Labs/3_Revit_Family_API/SourceVB/My Project/AssemblyInfo.vb | 6 +++--- Labs/3_Revit_Family_API/SourceVB/Utils.vb | 2 +- 24 files changed, 33 insertions(+), 33 deletions(-) diff --git a/Labs/1_Revit_API_Intro/SourceCS/Properties/AssemblyInfo.cs b/Labs/1_Revit_API_Intro/SourceCS/Properties/AssemblyInfo.cs index 146f236..b0cfe6e 100644 --- a/Labs/1_Revit_API_Intro/SourceCS/Properties/AssemblyInfo.cs +++ b/Labs/1_Revit_API_Intro/SourceCS/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion( "2021.0.0.0" )] -[assembly: AssemblyFileVersion( "2021.0.0.0" )] +[assembly: AssemblyVersion( "2021.0.0.3" )] +[assembly: AssemblyFileVersion( "2021.0.0.3" )] diff --git a/Labs/1_Revit_API_Intro/SourceVB/1_HelloWorld.vb b/Labs/1_Revit_API_Intro/SourceVB/1_HelloWorld.vb index 4f685f2..6061aaf 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/1_HelloWorld.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/1_HelloWorld.vb @@ -1,5 +1,5 @@ #Region "Copyright" -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/1_Revit_API_Intro/SourceVB/2_DbElement.vb b/Labs/1_Revit_API_Intro/SourceVB/2_DbElement.vb index 7d6b043..bce9cac 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/2_DbElement.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/2_DbElement.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/1_Revit_API_Intro/SourceVB/3_ElementFiltering.vb b/Labs/1_Revit_API_Intro/SourceVB/3_ElementFiltering.vb index 04a1078..5c8d0f1 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/3_ElementFiltering.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/3_ElementFiltering.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/1_Revit_API_Intro/SourceVB/4_ElementModification.vb b/Labs/1_Revit_API_Intro/SourceVB/4_ElementModification.vb index 838cda7..68ffb56 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/4_ElementModification.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/4_ElementModification.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/1_Revit_API_Intro/SourceVB/5_ModelCreation.vb b/Labs/1_Revit_API_Intro/SourceVB/5_ModelCreation.vb index 2c2c946..2d4f07a 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/5_ModelCreation.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/5_ModelCreation.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/1_Revit_API_Intro/SourceVB/5_ModelCreationExport.vb b/Labs/1_Revit_API_Intro/SourceVB/5_ModelCreationExport.vb index 961963d..8813d9c 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/5_ModelCreationExport.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/5_ModelCreationExport.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/1_Revit_API_Intro/SourceVB/6_ExtensibleStorage.vb b/Labs/1_Revit_API_Intro/SourceVB/6_ExtensibleStorage.vb index a00686c..bbb3df0 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/6_ExtensibleStorage.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/6_ExtensibleStorage.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/1_Revit_API_Intro/SourceVB/7_SharedParameter.vb b/Labs/1_Revit_API_Intro/SourceVB/7_SharedParameter.vb index 379aad5..be94dc8 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/7_SharedParameter.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/7_SharedParameter.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/1_Revit_API_Intro/SourceVB/My Project/AssemblyInfo.vb b/Labs/1_Revit_API_Intro/SourceVB/My Project/AssemblyInfo.vb index bb97b75..ce59a9f 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/My Project/AssemblyInfo.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/My Project/AssemblyInfo.vb @@ -12,7 +12,7 @@ Imports System.Runtime.InteropServices - + @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' by using the '*' as shown below: ' - - + + diff --git a/Labs/1_Revit_API_Intro/SourceVB/Util.vb b/Labs/1_Revit_API_Intro/SourceVB/Util.vb index a511eb0..e09f74f 100644 --- a/Labs/1_Revit_API_Intro/SourceVB/Util.vb +++ b/Labs/1_Revit_API_Intro/SourceVB/Util.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/2_Revit_UI_API/SourceCS/Properties/AssemblyInfo.cs b/Labs/2_Revit_UI_API/SourceCS/Properties/AssemblyInfo.cs index 35662a9..a8432ab 100644 --- a/Labs/2_Revit_UI_API/SourceCS/Properties/AssemblyInfo.cs +++ b/Labs/2_Revit_UI_API/SourceCS/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion( "2021.0.0.0" )] -[assembly: AssemblyFileVersion( "2021.0.0.0" )] +[assembly: AssemblyVersion( "2021.0.0.3" )] +[assembly: AssemblyFileVersion( "2021.0.0.3" )] diff --git a/Labs/2_Revit_UI_API/SourceVB/1_Ribbon.vb b/Labs/2_Revit_UI_API/SourceVB/1_Ribbon.vb index 2590d20..3ff9dec 100644 --- a/Labs/2_Revit_UI_API/SourceVB/1_Ribbon.vb +++ b/Labs/2_Revit_UI_API/SourceVB/1_Ribbon.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/2_Revit_UI_API/SourceVB/2_Selection.vb b/Labs/2_Revit_UI_API/SourceVB/2_Selection.vb index 089dade..dc141c1 100644 --- a/Labs/2_Revit_UI_API/SourceVB/2_Selection.vb +++ b/Labs/2_Revit_UI_API/SourceVB/2_Selection.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/2_Revit_UI_API/SourceVB/3_TaskDialog.vb b/Labs/2_Revit_UI_API/SourceVB/3_TaskDialog.vb index 5676b91..083912f 100644 --- a/Labs/2_Revit_UI_API/SourceVB/3_TaskDialog.vb +++ b/Labs/2_Revit_UI_API/SourceVB/3_TaskDialog.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/2_Revit_UI_API/SourceVB/4_Event.vb b/Labs/2_Revit_UI_API/SourceVB/4_Event.vb index 1f53f11..d102d7d 100644 --- a/Labs/2_Revit_UI_API/SourceVB/4_Event.vb +++ b/Labs/2_Revit_UI_API/SourceVB/4_Event.vb @@ -1,6 +1,6 @@ #Region "Copyright" ' -' Copyright (C) 2009-2020 by Autodesk, Inc. +' Copyright (C) 2009-2021 by Autodesk, Inc. ' ' Permission to use, copy, modify, and distribute this software in ' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/2_Revit_UI_API/SourceVB/My Project/AssemblyInfo.vb b/Labs/2_Revit_UI_API/SourceVB/My Project/AssemblyInfo.vb index a1df083..be97910 100644 --- a/Labs/2_Revit_UI_API/SourceVB/My Project/AssemblyInfo.vb +++ b/Labs/2_Revit_UI_API/SourceVB/My Project/AssemblyInfo.vb @@ -12,7 +12,7 @@ Imports System.Runtime.InteropServices - + @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' by using the '*' as shown below: ' - - + + diff --git a/Labs/3_Revit_Family_API/SourceCS/Properties/AssemblyInfo.cs b/Labs/3_Revit_Family_API/SourceCS/Properties/AssemblyInfo.cs index 54b25f5..0d1b0c4 100644 --- a/Labs/3_Revit_Family_API/SourceCS/Properties/AssemblyInfo.cs +++ b/Labs/3_Revit_Family_API/SourceCS/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion( "2021.0.0.0" )] -[assembly: AssemblyFileVersion( "2021.0.0.0" )] +[assembly: AssemblyVersion( "2021.0.0.3" )] +[assembly: AssemblyFileVersion( "2021.0.0.3" )] diff --git a/Labs/3_Revit_Family_API/SourceVB/1_ColumnRectangle.vb b/Labs/3_Revit_Family_API/SourceVB/1_ColumnRectangle.vb index 443550b..ca27a2d 100644 --- a/Labs/3_Revit_Family_API/SourceVB/1_ColumnRectangle.vb +++ b/Labs/3_Revit_Family_API/SourceVB/1_ColumnRectangle.vb @@ -1,6 +1,6 @@ #Region "Copyright" '' -'' (C) Copyright 2009-2020 by Autodesk, Inc. +'' (C) Copyright 2009-2021 by Autodesk, Inc. '' '' Permission to use, copy, modify, and distribute this software in '' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/3_Revit_Family_API/SourceVB/2_ColumnLshape.vb b/Labs/3_Revit_Family_API/SourceVB/2_ColumnLshape.vb index 133f9c1..98e6401 100644 --- a/Labs/3_Revit_Family_API/SourceVB/2_ColumnLshape.vb +++ b/Labs/3_Revit_Family_API/SourceVB/2_ColumnLshape.vb @@ -1,6 +1,6 @@ #Region "Copyright" '' -'' (C) Copyright 2009-2020 by Autodesk, Inc. +'' (C) Copyright 2009-2021 by Autodesk, Inc. '' '' Permission to use, copy, modify, and distribute this software in '' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/3_Revit_Family_API/SourceVB/3_ColumnFormulaMaterial.vb b/Labs/3_Revit_Family_API/SourceVB/3_ColumnFormulaMaterial.vb index 61fe9f4..50d8c7c 100644 --- a/Labs/3_Revit_Family_API/SourceVB/3_ColumnFormulaMaterial.vb +++ b/Labs/3_Revit_Family_API/SourceVB/3_ColumnFormulaMaterial.vb @@ -1,6 +1,6 @@ #Region "Copyright" '' -'' (C) Copyright 2009-2020 by Autodesk, Inc. +'' (C) Copyright 2009-2021 by Autodesk, Inc. '' '' Permission to use, copy, modify, and distribute this software in '' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/3_Revit_Family_API/SourceVB/4_ColumnVisibility.vb b/Labs/3_Revit_Family_API/SourceVB/4_ColumnVisibility.vb index 868c02a..7d64ec8 100644 --- a/Labs/3_Revit_Family_API/SourceVB/4_ColumnVisibility.vb +++ b/Labs/3_Revit_Family_API/SourceVB/4_ColumnVisibility.vb @@ -1,6 +1,6 @@ #Region "Copyright" '' -'' (C) Copyright 2009-2020 by Autodesk, Inc. +'' (C) Copyright 2009-2021 by Autodesk, Inc. '' '' Permission to use, copy, modify, and distribute this software in '' object code form for any purpose and without fee is hereby granted, diff --git a/Labs/3_Revit_Family_API/SourceVB/My Project/AssemblyInfo.vb b/Labs/3_Revit_Family_API/SourceVB/My Project/AssemblyInfo.vb index 21c7821..a977f46 100644 --- a/Labs/3_Revit_Family_API/SourceVB/My Project/AssemblyInfo.vb +++ b/Labs/3_Revit_Family_API/SourceVB/My Project/AssemblyInfo.vb @@ -11,7 +11,7 @@ Imports System.Runtime.InteropServices - + @@ -30,5 +30,5 @@ Imports System.Runtime.InteropServices ' by using the '*' as shown below: ' - - + + diff --git a/Labs/3_Revit_Family_API/SourceVB/Utils.vb b/Labs/3_Revit_Family_API/SourceVB/Utils.vb index 2d674c3..74d0646 100644 --- a/Labs/3_Revit_Family_API/SourceVB/Utils.vb +++ b/Labs/3_Revit_Family_API/SourceVB/Utils.vb @@ -1,6 +1,6 @@ #Region "Copyright" '' -'' Copyright (C) 2009-2020 by Autodesk, Inc. +'' Copyright (C) 2009-2021 by Autodesk, Inc. '' '' Permission to use, copy, modify, and distribute this software in '' object code form for any purpose and without fee is hereby granted,