Skip to content

Commit 7cfd66f

Browse files
authored
Merge pull request #632 from Autodesk/babio/24.1_Update
IFC Extension 24.1 update
2 parents 1f76067 + 53b20d6 commit 7cfd66f

File tree

146 files changed

+21465
-16729
lines changed

Some content is hidden

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

146 files changed

+21465
-16729
lines changed
Loading
Binary file not shown.
Binary file not shown.

Install/Program Files to Install/IFC Shared Parameters-RevitIFCBuiltIn-Type_ALL.txt

+6,272-6,172
Large diffs are not rendered by default.

Install/Program Files to Install/IFC Shared Parameters-RevitIFCBuiltIn_ALL.txt

+6,272-6,172
Large diffs are not rendered by default.

Install/Program Files to Install/IFCCertifiedEntitiesAndPSets.json

+26-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,32 @@
582582
"Pset_WasteTerminalTypeWasteDisposalUnit",
583583
"Pset_WasteTerminalTypeWasteTrap",
584584
"Pset_WindowCommon",
585-
"Pset_ZoneCommon"
585+
"Pset_ZoneCommon",
586+
"Qto_BeamBaseQuantities",
587+
"Qto_BuildingBaseQuantities",
588+
"Qto_BuildingStoreyBaseQuantities",
589+
"Qto_CableCarrierFittingBaseQuantities",
590+
"Qto_CableCarrierSegmentBaseQuantities",
591+
"Qto_CableSegmentBaseQuantities",
592+
"Qto_ColumnBaseQuantities",
593+
"Qto_CoveringBaseQuantities",
594+
"Qto_CurtainWallQuantities",
595+
"Qto_DoorBaseQuantities",
596+
"Qto_DuctFittingBaseQuantities",
597+
"Qto_ElectricApplianceBaseQuantities",
598+
"Qto_MemberBaseQuantities",
599+
"Qto_OpeningElementBaseQuantities",
600+
"Qto_PileBaseQuantities",
601+
"Qto_PlateBaseQuantities",
602+
"Qto_RailingBaseQuantities",
603+
"Qto_RampFlightBaseQuantities",
604+
"Qto_RoofBaseQuantities",
605+
"Qto_SiteBaseQuantities",
606+
"Qto_SlabBaseQuantities",
607+
"Qto_SpaceBaseQuantities",
608+
"Qto_StairFlightBaseQuantities",
609+
"Qto_WallBaseQuantities",
610+
"Qto_WindowBaseQuantities"
586611
]
587612
},
588613
"IFC4RV" : {

Install/Program Files to Install/IFCExporterUIOverride.addin

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<RevitAddIns>
33
<AddIn Type="Application">
44
<Name>IFC override</Name>
5-
<Assembly>.\IFCExportUIOverride.dll</Assembly>
5+
<Assembly>.\IFCExporterUIOverride.dll</Assembly>
66
<AddInId>6DC299D6-F746-47BE-AE93-F00DDC714257</AddInId>
77
<FullClassName>BIM.IFC.Export.UI.IFCCommandOverrideApplication</FullClassName>
88
<VendorId>ADSK</VendorId>

Install/Program Files to Install/bundle/Contents/Resources/ADSKIFCExporterHelp.htm

+69
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,75 @@ <h3>Support Information</h3>
236236
<p>or if you have an inquiry specific to this add-in, send us an e-mail to: <a href="mailto:[email protected]">[email protected]</a></p>
237237
<h2 id="VersionHistory" name="VersionHistory">Version History</h2>
238238

239+
<div class="version">24.1.0.22</div><div class="versioninfo-bullet">
240+
<br><p>
241+
General:
242+
<ul>
243+
<li>This is the first version of IFC Exporter for Revit 2024.
244+
<li>It contains a various improvements and bug fixes for the basic Revit 2024.
245+
</ul>
246+
</p>
247+
<br>
248+
<p>
249+
Improvements:
250+
<ul>
251+
<li>Added IFC2x3 Qto sets.
252+
<li>Added material shared parameters export.
253+
<li>Added the BarRole attribute when exporting IfcReinforcingBars to IFC.
254+
<li>Added type entities for rebar and assemblies when exporting to IFC.
255+
<li>Added support for exporting predefined types when exporting spaces to IFC4+.
256+
<li>Added support of new measure units.
257+
<li>Allowed export of rebar with slightly invalid transforms to IFC.
258+
<li>Implemented exporting user defined parameters of 'Real' type as IfcReal with Revit display values.
259+
<li>Implemented exporting of IfcRailingType entity.
260+
<li>Implemented support of all 4 Revit velocity data types on export.
261+
<li>Improved display of openings when export or linking in IFC files.
262+
<li>Improved calculation of the linked levels elevation.
263+
<li>Improved export of IfcPropertyEnumeratedValue.
264+
<li>Improved export of insulation and lining as anything.
265+
<li>Improved export of projects to IFC that contained family instances with invalid placements.
266+
<li>Improved how classifications are viewed in certain older external applications when exporting to IFC.
267+
<li>Improved list/bounded/table user defined properties values export for Instances and Types.
268+
<li>Improved placement of federated (and some separate) links.
269+
<li>Improved processing of representation items.
270+
<li>Improved support for exporting advanced BReps to IFC if the unofficial IFC4 Design Transfer View is used.
271+
<li>Improved the behavior for export of elements split by levels.
272+
<li>Improved user defined property set mapping, especially for IFC2x3 entities that previously had no type entity exported.
273+
<li>Updated 4x3 enums according to IFC4.3.1.0 Documentation.
274+
</ul>
275+
</p>
276+
<br>
277+
<p>
278+
Bug Fixes:
279+
<ul>
280+
<li>Corrected the value for many MEP parameters exported to IFC.
281+
<li>Fixed colour for exported pipe fitting.
282+
<li>Fixed inconsistent IfcMaterialConstituent naming.
283+
<li>Fixed export of a user-defined structural element type.
284+
<li>Fixed export of IfcFurnitureType.AssemblyPlace attribute.
285+
<li>Fixed export of IFC properties associated with the top-level IfcProject entity.
286+
<li>Fixed export of materials from hosted wall sweep.
287+
<li>Fixed export of material layer parameters of a ceiling element.
288+
<li>Fixed export of user defined properties for roofs.
289+
<li>Fixed export of some assemblies to IFC that resulted in orphaned entities.
290+
<li>Fixed export of stairs layer name.
291+
<li>Fixed IFC Classification export.
292+
<li>Fixed IFCMEASUREWITHUNIT.
293+
<li>Fixed log file creation for linking.
294+
<li>Fixed the calculation of the height parameter for some railings in metric projects when a previous value had been calculated that wasn't applicable to this railing.
295+
<li>Fixed the issue when IfcCovering sill's body was exported as Brep instead of SweptSolid.
296+
<li>Fixed the processing of openings when exporting a wall as shape aspects (components).
297+
<li>Fixed the slope common property set parameter calculation when exporting some stringers to IFC.
298+
<li>Fixed issue with IfcCountMeasure value in IFC4x3.
299+
<li>Fixed Revit Data types export.
300+
<li>Fixed window opening misalignment.
301+
<li>Removed the use of several Revit built-in parameters when exporting IFC properties that have the same name but are different.
302+
</ul>
303+
</p>
304+
<br>
305+
</div>
306+
<br>
307+
239308
<div class="versionset">
240309
<div class="version">24.0.0.0</div><div class="versioninfo-bullet">
241310
<br><p>

Install/Program Files to Install/bundle/PackageContents.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2024" SeriesMax="R2024" />
55
<Components Description="2024">
66
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2024" SeriesMax="R2024" />
7-
<ComponentEntry AppName="IFC For Revit 2024" Version="24.0.0" ModuleName="./Contents/2024/IFCExporterUIOverride.addin" AppDescription="IFC For Revit 2024" />
8-
<ComponentEntry AppName="IFC For Revit 2024" Version="24.0.0" ModuleName="./Contents/2024/Revit.IFC.addin" AppDescription="IFC For Revit 2024" />
7+
<ComponentEntry AppName="IFC For Revit 2024" Version="24.1.0" ModuleName="./Contents/2024/IFCExporterUIOverride.addin" AppDescription="IFC For Revit 2024" />
8+
<ComponentEntry AppName="IFC For Revit 2024" Version="24.1.0" ModuleName="./Contents/2024/Revit.IFC.addin" AppDescription="IFC For Revit 2024" />
99
</Components>
1010
</ApplicationPackage>

Install/RevitIFCSetupWix/Product.wxs

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
33
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
44

5-
<Product Id="F1A1177D-4CE7-4AAA-B4E6-EC318112D7B4" Name="Revit IFC 2024" Language="1033" Version="24.0.0.0" Manufacturer="Autodesk" UpgradeCode="1A9C2C21-24B8-42D2-0000-992E73C11B3F">
5+
<Product Id="1A9C2C21-24B8-42D2-0000-992E73C12400" Name="Revit IFC 2024" Language="1033" Version="24.1.0.22" Manufacturer="Autodesk" UpgradeCode="1A9C2C21-24B8-42D2-0000-992E73C11B3F">
66
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
77

88
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
@@ -106,10 +106,10 @@
106106
<File Id ="FILE_Ifc_Import_Sig" Name="Revit.IFC.Import.sig" Source="$(var.ProjectDir)..\Program Files to Install\Revit.IFC.Import.sig" KeyPath="yes" />
107107
</Component>
108108
<Component Id = "COMP_IFC_ExternalUI_Sig" Guid="3159B919-CD50-469D-8DDE-FE339CEBBC1C">
109-
<File Id ="FILE_Ifc_ExternalUI_Sig" Name="IFCExportUIOverride.sig" Source="$(var.ProjectDir)..\Program Files to Install\IFCExportUIOverride.sig" KeyPath="yes" />
109+
<File Id ="FILE_Ifc_ExternalUI_Sig" Name="IFCExporterUIOverride.sig" Source="$(var.ProjectDir)..\Program Files to Install\IFCExporterUIOverride.sig" KeyPath="yes" />
110110
</Component>
111111
<Component Id = "COMP_IFC_ExternalUI_DLL" Guid="D7F89B58-029F-4062-B226-6F3D2EB7FE5D">
112-
<File Id ="FILE_Ifc_ExternalUI_DLL" Name="IFCExportUIOverride.dll" Source="$(var.ProjectDir)..\Program Files to Install\IFCExportUIOverride.dll" KeyPath="yes" />
112+
<File Id ="FILE_Ifc_ExternalUI_DLL" Name="IFCExporterUIOverride.dll" Source="$(var.ProjectDir)..\Program Files to Install\IFCExporterUIOverride.dll" KeyPath="yes" />
113113
</Component>
114114
<Component Id = "COMP_IFC_Common_DLL" Guid="C7ED4A2C-DCB1-457E-968F-2DDE9993C1B6">
115115
<File Id ="FILE_Ifc_Common_DLL" Name="Revit.IFC.Common.dll" Source="$(var.Revit.IFC.Common.TargetDir)Revit.IFC.Common.dll" KeyPath="yes" />
@@ -125,7 +125,7 @@
125125
<File Id ="FILE_Ifc_Import_DLL" Name="Revit.IFC.Import.dll" Source="$(var.Revit.IFC.Import.TargetDir)Revit.IFC.Import.dll" KeyPath="yes" />
126126
</Component>
127127
<Component Id = "COMP_IFC_ExternalUI_DLL" Guid="D7F89B58-029F-4062-B226-6F3D2EB7FE5D">
128-
<File Id ="FILE_Ifc_ExternalUI_DLL" Name="IFCExportUIOverride.dll" Source="$(var.IFCExporterUIOverride.TargetDir)IFCExportUIOverride.dll" KeyPath="yes" />
128+
<File Id ="FILE_Ifc_ExternalUI_DLL" Name="IFCExporterUIOverride.dll" Source="$(var.IFCExporterUIOverride.TargetDir)IFCExporterUIOverride.dll" KeyPath="yes" />
129129
</Component>
130130
<Component Id = "COMP_IFC_Common_DLL" Guid="C7ED4A2C-DCB1-457E-968F-2DDE9993C1B6">
131131
<File Id ="FILE_Ifc_Common_DLL" Name="Revit.IFC.Common.dll" Source="$(var.Revit.IFC.Common.TargetDir)Revit.IFC.Common.dll" KeyPath="yes" />
@@ -237,12 +237,12 @@
237237

238238
<ComponentGroup Id="ProductFRFiles" Directory="INSTALLFRUI">
239239
<Component Id = "COMP_IFC_ResourceFR_DLL" Guid="ACC9C313-F8EF-4DBB-A0DE-55D662E4857D">
240-
<File Id ="FILE_Ifc_ResourceFR_DLL" Name="IFCExportUIOverride.resources.dll" Source="$(var.IFCExporterUIOverride.TargetDir)fr\IFCExportUIOverride.resources.dll" KeyPath="yes" />
240+
<File Id ="FILE_Ifc_ResourceFR_DLL" Name="IFCExporterUIOverride.resources.dll" Source="$(var.IFCExporterUIOverride.TargetDir)fr\IFCExporterUIOverride.resources.dll" KeyPath="yes" />
241241
</Component>
242242
</ComponentGroup>
243243
<ComponentGroup Id="ProductDEFiles" Directory="INSTALLDEUI">
244244
<Component Id = "COMP_IFC_ResourceDE_DLL" Guid="23BD267A-652F-473A-8DF6-6302C7D14D54">
245-
<File Id ="FILE_Ifc_ResourceDE_DLL" Name="IFCExportUIOverride.resources.dll" Source="$(var.IFCExporterUIOverride.TargetDir)de\IFCExportUIOverride.resources.dll" KeyPath="yes" />
245+
<File Id ="FILE_Ifc_ResourceDE_DLL" Name="IFCExporterUIOverride.resources.dll" Source="$(var.IFCExporterUIOverride.TargetDir)de\IFCExporterUIOverride.resources.dll" KeyPath="yes" />
246246
</Component>
247247
</ComponentGroup>
248248

@@ -270,7 +270,7 @@
270270
<util:XmlFile Id="SetKeyUI"
271271
Action="setValue"
272272
ElementPath="RevitAddIns/AddIn[\[]position()=1[\]]/Assembly"
273-
Value="[INSTALLDIR]IFCExportUIOverride.dll"
273+
Value="[INSTALLDIR]IFCExporterUIOverride.dll"
274274
File="[#FILE_UI_manifest]"
275275
SelectionLanguage="XPath"
276276
Sequence="1" />
@@ -285,7 +285,7 @@
285285
<util:XmlFile Id="SetKeyUI_LT"
286286
Action="setValue"
287287
ElementPath="RevitAddIns/AddIn[\[]position()=1[\]]/Assembly"
288-
Value="[INSTALLDIR]IFCExportUIOverride.dll"
288+
Value="[INSTALLDIR]IFCExporterUIOverride.dll"
289289
File="[DIR_Addins_LT]IFCExporterUIOverride.addin"
290290
SelectionLanguage="XPath"
291291
Sequence="1" />

Install/RevitIFCSetupWix/RevitIFCSetupWix.wixproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<ProductVersion>3.8</ProductVersion>
77
<ProjectGuid>7dfbd495-c588-4c7b-b8f6-5b793adb06f2</ProjectGuid>
88
<SchemaVersion>2.0</SchemaVersion>
9-
<OutputName>IFC for Revit 2024.0.0.0</OutputName>
9+
<OutputName>IFC for Revit 2024.1.0.22</OutputName>
1010
<OutputType>Package</OutputType>
1111
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
1212
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>

Install/RevitIFCSetupWix/buildInstaller.bat

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ rem It is necessary to add the Wix bin directory to the system path temporarily
1111
SET PATH=%PATH%;%WixRoot%
1212

1313
candle.exe -dProjectDir=%2 -ext WixUtilExtension %2Product.wxs
14-
light.exe -ext WixUtilExtension -out RevitIFC2024.msi product.wixobj -ext WixUIExtension
14+
light.exe -ext WixUtilExtension -out RevitIFC2024.1.0.msi product.wixobj -ext WixUIExtension
1515

16-
copy RevitIFC2024.msi %1..\Releasex64
17-
del RevitIFC2024.msi
16+
copy RevitIFC2024.1.0.msi %1..\Releasex64
17+
del RevitIFC2024.1.0.msi
1818

19-
echo %1..\Releasex64\RevitIFC2024.msi
19+
echo %1..\Releasex64\RevitIFC2024.1.0.msi

Source/IFCExporterUIOverride/IFCAddressInformationUI.xaml.cs

+10-7
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public partial class IFCAddressInformation : ChildWindow
4646
private IFCAddress m_newAddress = new IFCAddress();
4747
private IFCAddressItem m_newAddressItem = new IFCAddressItem();
4848
private IFCAddressItem m_savedAddressItem = new IFCAddressItem();
49+
private IFCExportConfiguration m_parentConfiguration = null;
4950

5051
private string getUserDefinedStringFromIFCPurposeList()
5152
{
@@ -59,8 +60,11 @@ private string getUserDefinedStringFromIFCPurposeList()
5960
public IFCAddressInformation(IFCExportConfiguration configuration)
6061
{
6162
InitializeComponent();
63+
m_parentConfiguration = configuration;
6264

63-
m_newAddressItem = configuration.ProjectAddress;
65+
if ((configuration.ProjectAddress.HasData() && !m_newAddressItem.HasData())
66+
|| (configuration.ProjectAddress.HasData() && m_newAddressItem.HasData() && !configuration.ProjectAddress.isUnchanged(m_newAddressItem)))
67+
m_newAddressItem = configuration.ProjectAddress;
6468

6569
// This is a short list, so we just do an O(n) search.
6670
int numItems = ifcPurposeList.Count();
@@ -73,11 +77,10 @@ public IFCAddressInformation(IFCExportConfiguration configuration)
7377
}
7478
}
7579

76-
// Initialize options from the m_newAddressItem
77-
Checkbox_AssignToBuilding.IsChecked = m_newAddressItem.AssignAddressToBuilding;
78-
Checkbox_AssignToSite.IsChecked = m_newAddressItem.AssignAddressToSite;
79-
UpdateProjInfocheckBox.IsChecked = m_newAddressItem.UpdateProjectInformation;
80-
80+
// Initialize options from the configuration
81+
Checkbox_AssignToBuilding.IsChecked = configuration.ProjectAddress.AssignAddressToBuilding;
82+
Checkbox_AssignToSite.IsChecked = configuration.ProjectAddress.AssignAddressToSite;
83+
UpdateProjInfocheckBox.IsChecked = configuration.ProjectAddress.UpdateProjectInformation;
8184
}
8285

8386
private void OnInit(object sender, RoutedEventArgs e)
@@ -212,7 +215,7 @@ private void buttonOK_Click(object sender, RoutedEventArgs args)
212215

213216
transaction.Commit();
214217
}
215-
218+
m_parentConfiguration.ProjectAddress = m_newAddressItem;
216219
Close();
217220
}
218221

0 commit comments

Comments
 (0)