From e8d943392a2741b99f7a47ffab48a7cfe342d43f Mon Sep 17 00:00:00 2001 From: babio Date: Thu, 20 Jul 2023 06:38:13 -0700 Subject: [PATCH 1/2] 24_1_1 Code update --- .../bundle/PackageContents.xml | 4 +- Install/RevitIFCSetupWix/Product.wxs | 2 +- Install/RevitIFCSetupWix/buildInstaller.bat | 8 +- .../IFCAddressInformationUI.xaml | 2 +- .../IFCExporterUIWindow.xaml | 6 +- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/Resources.Designer.cs | 36 ++ .../Properties/Resources.resx | 15 + .../Enums/IFC4x3EntityType.cs | 5 - .../Revit.IFC.Common/Enums/IFCEntityType.cs | 8 +- .../Properties/AssemblyInfo.cs | 4 +- .../Exporter/HostedSweepExporter.cs | 2 +- .../Exporter/WallSweepExporter.cs | 2 +- .../Properties/AssemblyInfo.cs | 4 +- .../Revit.IFC.Export/Utility/OpeningUtil.cs | 55 ++- .../Properties/AssemblyInfo.cs | 4 +- .../Data/IFCBuildingElementProxy.cs | 2 +- .../Data/IFCBuildingStorey.cs | 34 +- .../Data/IFCDistributionPort.cs | 16 +- .../Data/IFCDistributionSystem.cs | 7 +- Source/Revit.IFC.Import/Data/IFCDoorStyle.cs | 19 +- Source/Revit.IFC.Import/Data/IFCDoorType.cs | 12 +- .../Data/IFCDoorWindowPropertyBase.cs | 13 +- Source/Revit.IFC.Import/Data/IFCElement.cs | 10 +- .../Data/IFCElementAssembly.cs | 4 +- .../Data/IFCElementQuantity.cs | 5 +- .../Revit.IFC.Import/Data/IFCElementType.cs | 2 +- Source/Revit.IFC.Import/Data/IFCGroup.cs | 2 +- Source/Revit.IFC.Import/Data/IFCImportFile.cs | 55 ++- Source/Revit.IFC.Import/Data/IFCMappedItem.cs | 28 +- Source/Revit.IFC.Import/Data/IFCMaterial.cs | 7 +- Source/Revit.IFC.Import/Data/IFCObject.cs | 2 +- .../Data/IFCObjectDefinition.cs | 260 ++++++++--- .../Data/IFCPhysicalComplexQuantity.cs | 7 +- .../Data/IFCPhysicalQuantity.cs | 4 +- .../Data/IFCPhysicalSimpleQuantity.cs | 10 +- Source/Revit.IFC.Import/Data/IFCPort.cs | 12 +- Source/Revit.IFC.Import/Data/IFCProduct.cs | 90 ++-- Source/Revit.IFC.Import/Data/IFCProject.cs | 51 ++- Source/Revit.IFC.Import/Data/IFCProperty.cs | 63 ++- .../Revit.IFC.Import/Data/IFCPropertySet.cs | 289 +----------- .../Data/IFCPropertySetDefinition.cs | 3 +- Source/Revit.IFC.Import/Data/IFCProxy.cs | 4 +- .../Data/IFCRepresentation.cs | 39 +- .../Data/IFCRepresentationItem.cs | 5 +- .../Data/IFCRepresentationMap.cs | 12 +- Source/Revit.IFC.Import/Data/IFCSite.cs | 3 +- Source/Revit.IFC.Import/Data/IFCSpace.cs | 8 +- .../Data/IFCSpatialStructureElement.cs | 43 +- Source/Revit.IFC.Import/Data/IFCStyledItem.cs | 5 + Source/Revit.IFC.Import/Data/IFCTypeObject.cs | 14 +- .../Revit.IFC.Import/Data/IFCTypeProduct.cs | 41 +- Source/Revit.IFC.Import/Importer.cs | 209 +++++---- .../Processors/IFCDefaultProcessor.cs | 15 +- .../Properties/AssemblyInfo.cs | 4 +- .../Revit.IFC.Import/Revit.IFC.Import.csproj | 1 + .../Utility/IFCCategoryUtil.cs | 24 +- .../Utility/IFCElementUtil.cs | 2 +- .../Utility/IFCImportCache.cs | 23 +- .../Utility/IFCImportHybridInfo.cs | 376 ++++++++------- .../Utility/IFCImportOptions.cs | 54 ++- .../Utility/IFCImportShapeEditScope.cs | 10 +- .../Utility/ParametersToSet.cs | 427 ++++++++++++++++++ 63 files changed, 1547 insertions(+), 940 deletions(-) create mode 100644 Source/Revit.IFC.Import/Utility/ParametersToSet.cs diff --git a/Install/Program Files to Install/bundle/PackageContents.xml b/Install/Program Files to Install/bundle/PackageContents.xml index c50f769c..6b607fd1 100644 --- a/Install/Program Files to Install/bundle/PackageContents.xml +++ b/Install/Program Files to Install/bundle/PackageContents.xml @@ -4,7 +4,7 @@ - - + + \ No newline at end of file diff --git a/Install/RevitIFCSetupWix/Product.wxs b/Install/RevitIFCSetupWix/Product.wxs index 4ce070cc..b9c1d43a 100644 --- a/Install/RevitIFCSetupWix/Product.wxs +++ b/Install/RevitIFCSetupWix/Product.wxs @@ -2,7 +2,7 @@ - + diff --git a/Install/RevitIFCSetupWix/buildInstaller.bat b/Install/RevitIFCSetupWix/buildInstaller.bat index c1dd5db0..e394f267 100644 --- a/Install/RevitIFCSetupWix/buildInstaller.bat +++ b/Install/RevitIFCSetupWix/buildInstaller.bat @@ -11,9 +11,9 @@ rem It is necessary to add the Wix bin directory to the system path temporarily SET PATH=%PATH%;%WixRoot% candle.exe -dProjectDir=%2 -ext WixUtilExtension %2Product.wxs -light.exe -ext WixUtilExtension -out RevitIFC2024.1.0.msi product.wixobj -ext WixUIExtension +light.exe -ext WixUtilExtension -out RevitIFC2024.1.1.msi product.wixobj -ext WixUIExtension -copy RevitIFC2024.1.0.msi %1..\Releasex64 -del RevitIFC2024.1.0.msi +copy RevitIFC2024.1.1.msi %1..\Releasex64 +del RevitIFC2024.1.1.msi -echo %1..\Releasex64\RevitIFC2024.1.0.msi +echo %1..\Releasex64\RevitIFC2024.1.1.msi diff --git a/Source/IFCExporterUIOverride/IFCAddressInformationUI.xaml b/Source/IFCExporterUIOverride/IFCAddressInformationUI.xaml index c3db7e0a..ea3bcc8a 100644 --- a/Source/IFCExporterUIOverride/IFCAddressInformationUI.xaml +++ b/Source/IFCExporterUIOverride/IFCAddressInformationUI.xaml @@ -28,7 +28,7 @@