diff --git a/Revit_Adapter/Revit_Adapter.csproj b/Revit_Adapter/Revit_Adapter.csproj index ca911de60..b01906a65 100644 --- a/Revit_Adapter/Revit_Adapter.csproj +++ b/Revit_Adapter/Revit_Adapter.csproj @@ -2,13 +2,13 @@ net472 - 9.0.0.0 + 10.0.0.0 https://github.com/BHoM/Revit_Toolkit 6.0.0 BHoM Copyright © https://github.com/BHoM BH.Adapter.Revit - 9.3.0.0 + 10.0.0.0 diff --git a/Revit_Core_Adapter/Revit_Core_Adapter.csproj b/Revit_Core_Adapter/Revit_Core_Adapter.csproj index 89fda04ba..b4b1f5bb2 100644 --- a/Revit_Core_Adapter/Revit_Core_Adapter.csproj +++ b/Revit_Core_Adapter/Revit_Core_Adapter.csproj @@ -1,13 +1,13 @@ - 9.0.0.0 + 10.0.0.0 https://github.com/BHoM/Revit_Toolkit 6.0.0 BHoM Copyright © https://github.com/BHoM BH.Revit.Adapter.Core - 9.3.0.0 + 10.0.0.0 diff --git a/Revit_Engine/Create/Settings/MappingSettings.cs b/Revit_Engine/Create/Settings/MappingSettings.cs index 4765f1af7..ee8424598 100644 --- a/Revit_Engine/Create/Settings/MappingSettings.cs +++ b/Revit_Engine/Create/Settings/MappingSettings.cs @@ -1,69 +1,68 @@ -/* - * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2026, the respective contributors. All rights reserved. - * - * Each contributor holds copyright over their respective contributions. - * The project versioning (Git) records all such contribution source information. - * - * - * The BHoM is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3.0 of the License, or - * (at your option) any later version. - * - * The BHoM is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this code. If not, see . - */ - -using BH.oM.Adapters.Revit.Mapping; -using BH.oM.Adapters.Revit.Settings; -using BH.oM.Base.Attributes; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; - -namespace BH.Engine.Adapters.Revit -{ - public static partial class Create - { - /***************************************************/ - /**** Public methods ****/ - /***************************************************/ - - [PreviousVersion("9.3", "BH.Engine.Adapters.Revit.Create.MappingSettings(System.Collections.Generic.IEnumerable, System.String, System.String)")] - [Description("Creates an entity holding information about the enforced convert relationships between Revit families and BHoM types on Pull as well as mapping between Revit parameters and BHoM object properties.")] - [InputFromProperty("parameterMaps")] - [InputFromProperty("familyMaps")] - [InputFromProperty("tagsParameter")] - [InputFromProperty("materialGradeParameter")] - [Output("mappingSettings")] - public static MappingSettings MappingSettings(IEnumerable parameterMaps = null, IEnumerable familyMaps = null, string tagsParameter = "", string materialGradeParameter = "") - { - MappingSettings mappingSettings = new MappingSettings(); - if (parameterMaps != null) - mappingSettings = mappingSettings.AddParameterMaps(parameterMaps); - - if (familyMaps != null) - mappingSettings.FamilyMaps = familyMaps.ToList(); - - mappingSettings.TagsParameter = tagsParameter; - mappingSettings.MaterialGradeParameter = materialGradeParameter; - - return mappingSettings; - } - - /***************************************************/ - } -} - - - - - - - +/* + * This file is part of the Buildings and Habitats object Model (BHoM) + * Copyright (c) 2015 - 2026, the respective contributors. All rights reserved. + * + * Each contributor holds copyright over their respective contributions. + * The project versioning (Git) records all such contribution source information. + * + * + * The BHoM is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3.0 of the License, or + * (at your option) any later version. + * + * The BHoM is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this code. If not, see . + */ + +using BH.oM.Adapters.Revit.Mapping; +using BH.oM.Adapters.Revit.Settings; +using BH.oM.Base.Attributes; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; + +namespace BH.Engine.Adapters.Revit +{ + public static partial class Create + { + /***************************************************/ + /**** Public methods ****/ + /***************************************************/ + + [Description("Creates an entity holding information about the enforced convert relationships between Revit families and BHoM types on Pull as well as mapping between Revit parameters and BHoM object properties.")] + [InputFromProperty("parameterMaps")] + [InputFromProperty("familyMaps")] + [InputFromProperty("tagsParameter")] + [InputFromProperty("materialGradeParameter")] + [Output("mappingSettings")] + public static MappingSettings MappingSettings(IEnumerable parameterMaps = null, IEnumerable familyMaps = null, string tagsParameter = "", string materialGradeParameter = "") + { + MappingSettings mappingSettings = new MappingSettings(); + if (parameterMaps != null) + mappingSettings = mappingSettings.AddParameterMaps(parameterMaps); + + if (familyMaps != null) + mappingSettings.FamilyMaps = familyMaps.ToList(); + + mappingSettings.TagsParameter = tagsParameter; + mappingSettings.MaterialGradeParameter = materialGradeParameter; + + return mappingSettings; + } + + /***************************************************/ + } +} + + + + + + + diff --git a/Revit_Engine/Revit_Engine.csproj b/Revit_Engine/Revit_Engine.csproj index 9d0388907..f6da20622 100644 --- a/Revit_Engine/Revit_Engine.csproj +++ b/Revit_Engine/Revit_Engine.csproj @@ -1,33 +1,28 @@ - net472 - 9.0.0.0 + 10.0.0.0 https://github.com/BHoM/Revit_Toolkit 6.0.0 BHoM Copyright © https://github.com/BHoM BH.Engine.Revit - 9.3.0.0 + 10.0.0.0 - ..\Build\ Off false None - - - diff --git a/Revit_Engine/Versioning_93.json b/Revit_Engine/Versioning_93.json deleted file mode 100644 index ad7462735..000000000 --- a/Revit_Engine/Versioning_93.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "Namespace": { - "ToNew": { - - }, - "ToOld": { - - } - }, - "Type": { - "ToNew": { - - }, - "ToOld": { - - } - }, - "Method": { - "ToNew": { - - }, - "ToOld": { - - } - }, - "Property": { - "ToNew": { - - }, - "ToOld": { - - } - }, - "Dataset": { - "ToNew": { - - }, - "ToOld": { - - }, - "MessageForDeleted": { - - } - }, - "MessageForDeleted": { - "BH.Revit.Engine.Core.Create.ViewReflectedCeilingPlan(Autodesk.Revit.DB.Document, Autodesk.Revit.DB.Level, System.String, Autodesk.Revit.DB.CurveLoop, Autodesk.Revit.DB.ElementId, Autodesk.Revit.DB.ViewDetailLevel)": "Calls to this method to be replaced with Create.ViewPlan with 'viewFamily' parameter equal to ViewFamily.CeilingPlan." - }, - "MessageForNoUpgrade": { - - } -} \ No newline at end of file diff --git a/Revit_oM/Revit_oM.csproj b/Revit_oM/Revit_oM.csproj index 42b38f09d..12c888bda 100644 --- a/Revit_oM/Revit_oM.csproj +++ b/Revit_oM/Revit_oM.csproj @@ -1,13 +1,13 @@ net472 - 9.0.0.0 + 10.0.0.0 https://github.com/BHoM/Revit_Toolkit 6.0.0 BHoM Copyright © https://github.com/BHoM BH.oM.Revit - 9.3.0.0 + 10.0.0.0 ..\Build\