Referenced Revit 2023 API assembly references and removed CmdLog4.cs 0 succeeded, 1 failed, 0 skipped, 8 errors, 5 warnings: Severity Code Description Project File Line Suppression State Error CS0122 'AnalyticalModel' is inaccessible due to its protection level BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs 178 Active Error CS1061 'Wall' does not contain a definition for 'GetAnalyticalModel' and no accessible extension method 'GetAnalyticalModel' accepting a first argument of type 'Wall' could be found (are you missing a using directive or an assembly reference?) BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs 88 Active Error CS0815 Cannot assign method group to an implicitly-typed variable BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs 94 Active Error CS1061 'Element' does not contain a definition for 'GetAnalyticalModel' and no accessible extension method 'GetAnalyticalModel' accepting a first argument of type 'Element' could be found (are you missing a using directive or an assembly reference?) BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs 119 Active Error CS0246 The type or namespace name 'AnalyticalModelSurface' could not be found (are you missing a using directive or an assembly reference?) BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs 120 Active Error CS1061 'FamilyInstance' does not contain a definition for 'GetAnalyticalModel' and no accessible extension method 'GetAnalyticalModel' accepting a first argument of type 'FamilyInstance' could be found (are you missing a using directive or an assembly reference?) BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs 134 Active Error CS1061 'Element' does not contain a definition for 'GetAnalyticalModel' and no accessible extension method 'GetAnalyticalModel' accepting a first argument of type 'Element' could be found (are you missing a using directive or an assembly reference?) BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs 145 Active Error CS0246 The type or namespace name 'AnalyticalModelStick' could not be found (are you missing a using directive or an assembly reference?) BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs 146 Active Warning CS0618 'AnalyticalCurveType' is obsolete: 'This enum is deprecated in Revit 2023 and may be removed in a future version of Revit.' BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs 34 Active Warning CS0618 'AnalyticalCurveType' is obsolete: 'This enum is deprecated in Revit 2023 and may be removed in a future version of Revit.' BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs 35 Active Warning CS0618 'AnalyticalCurveType' is obsolete: 'This enum is deprecated in Revit 2023 and may be removed in a future version of Revit.' BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs 35 Active Warning CS0618 'ParameterFilterRuleFactory.CreateEqualsRule(ElementId, string, bool)' is obsolete: 'This method is deprecated in Revit 2023 and may be removed in a future version of Revit. Please use the constructor without the `caseSensitive` argument instead.' BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdCollectorPerformance.cs 2618 Active Warning CS0618 'AnalyticalCurveType' is obsolete: 'This enum is deprecated in Revit 2023 and may be removed in a future version of Revit.' BuildingCoder Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs 137 Active Rebuild started... 1>------ Rebuild All started: Project: BuildingCoder, Configuration: Debug Any CPU ------ Restored Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\BuildingCoder.csproj (in 4 ms). 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs(34,45,34,64): warning CS0618: 'AnalyticalCurveType' is obsolete: 'This enum is deprecated in Revit 2023 and may be removed in a future version of Revit.' 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs(35,48,35,67): warning CS0618: 'AnalyticalCurveType' is obsolete: 'This enum is deprecated in Revit 2023 and may be removed in a future version of Revit.' 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs(35,75,35,94): warning CS0618: 'AnalyticalCurveType' is obsolete: 'This enum is deprecated in Revit 2023 and may be removed in a future version of Revit.' 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs(88,31,88,49): error CS1061: 'Wall' does not contain a definition for 'GetAnalyticalModel' and no accessible extension method 'GetAnalyticalModel' accepting a first argument of type 'Wall' could be found (are you missing a using directive or an assembly reference?) 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdAnalyticalModelGeom.cs(94,25,94,41): error CS0815: Cannot assign method group to an implicitly-typed variable 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdCollectorPerformance.cs(2618,25,2620,52): warning CS0618: 'ParameterFilterRuleFactory.CreateEqualsRule(ElementId, string, bool)' is obsolete: 'This method is deprecated in Revit 2023 and may be removed in a future version of Revit. Please use the constructor without the `caseSensitive` argument instead.' 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs(119,36,119,54): error CS1061: 'Element' does not contain a definition for 'GetAnalyticalModel' and no accessible extension method 'GetAnalyticalModel' accepting a first argument of type 'Element' could be found (are you missing a using directive or an assembly reference?) 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs(120,28,120,50): error CS0246: The type or namespace name 'AnalyticalModelSurface' could not be found (are you missing a using directive or an assembly reference?) 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs(134,28,134,46): error CS1061: 'FamilyInstance' does not contain a definition for 'GetAnalyticalModel' and no accessible extension method 'GetAnalyticalModel' accepting a first argument of type 'FamilyInstance' could be found (are you missing a using directive or an assembly reference?) 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs(137,34,137,53): warning CS0618: 'AnalyticalCurveType' is obsolete: 'This enum is deprecated in Revit 2023 and may be removed in a future version of Revit.' 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs(145,41,145,59): error CS1061: 'Element' does not contain a definition for 'GetAnalyticalModel' and no accessible extension method 'GetAnalyticalModel' accepting a first argument of type 'Element' could be found (are you missing a using directive or an assembly reference?) 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs(146,32,146,52): error CS0246: The type or namespace name 'AnalyticalModelStick' could not be found (are you missing a using directive or an assembly reference?) 1>Y:\a\src\rvt\the_building_coder_samples\BuildingCoder\CmdNewLineLoad.cs(178,22,178,37): error CS0122: 'AnalyticalModel' is inaccessible due to its protection level 1>Done building project "BuildingCoder.csproj" -- FAILED. ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========