Skip to content

Commit 039f48a

Browse files
authored
Merge pull request #663 from Autodesk/babio/24.1.1_Update
24_1_1 Code update
2 parents 7cfd66f + ccc7069 commit 039f48a

File tree

67 files changed

+1580
-941
lines changed

Some content is hidden

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

67 files changed

+1580
-941
lines changed
Binary file not shown.

Install/Program Files to Install/DefaultUserDefinedParameterSets.txt

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
# Pressure, Ratio, Real, Text, ThermalTransmittance, ThermodynamicTemperature, Volume,
1515
# VolumetricFlowRate
1616
#
17+
# Since 24.1.0, type properties are not exported in case they are not specified in the user-defined property sets file.
18+
# To export type properties for the IFCElement, for example,
19+
# a user should include "IFCElementType" in the proper .txt file.
20+
#
1721
# Example property set definition for COBie:
1822
#
1923
#PropertySet: COBie_Specification T IfcElementType

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

+28
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,34 @@ <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.1.6</div><div class="versioninfo-bullet">
240+
<br><p>
241+
General:
242+
<ul>
243+
<li>This is the minor update 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+
Bug Fixes:
250+
<ul>
251+
<li>The default import processor has been changed to Hybrid
252+
</ul>
253+
</p>
254+
<br>
255+
<p>
256+
Bug Fixes:
257+
<ul>
258+
<li>Fixed a bunch of potential bugs related to the compatibility with older Revit versions.
259+
<li>Fix sketch-based openings in sloped slabs.
260+
<li>Fixed placement of some specific wall sweep elements.
261+
</ul>
262+
</p>
263+
<br>
264+
</div>
265+
<br>
266+
239267
<div class="version">24.1.0.22</div><div class="versioninfo-bullet">
240268
<br><p>
241269
General:

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.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" />
7+
<ComponentEntry AppName="IFC For Revit 2024" Version="24.1.1" ModuleName="./Contents/2024/IFCExporterUIOverride.addin" AppDescription="IFC For Revit 2024" />
8+
<ComponentEntry AppName="IFC For Revit 2024" Version="24.1.1" ModuleName="./Contents/2024/Revit.IFC.addin" AppDescription="IFC For Revit 2024" />
99
</Components>
1010
</ApplicationPackage>

Install/RevitIFCSetupWix/Product.wxs

+1-1
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="1A9C2C21-24B8-42D2-0000-992E73C12400" Name="Revit IFC 2024" Language="1033" Version="24.1.0.22" Manufacturer="Autodesk" UpgradeCode="1A9C2C21-24B8-42D2-0000-992E73C11B3F">
5+
<Product Id="1A9C2C21-2411-42D2-0000-992E73C12400" Name="Revit IFC 2024" Language="1033" Version="24.1.1.0" 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." />

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.1.0.22</OutputName>
9+
<OutputName>IFC for Revit 2024.1.1.6</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.1.0.msi product.wixobj -ext WixUIExtension
14+
light.exe -ext WixUtilExtension -out RevitIFC2024.1.1.msi product.wixobj -ext WixUIExtension
1515

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

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

Source/IFCExporterUIOverride/IFCAddressInformationUI.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</Grid.ColumnDefinitions>
2929
<Label Content="{x:Static p:Resources.Purpose}" Height="28" HorizontalAlignment="Left" Margin="21,10,0,0" x:Name="labelPurpose" VerticalAlignment="Top" Width="147"/>
3030
<Label Content="{x:Static p:Resources.UserDefinedPurpose}" Height="28" HorizontalAlignment="Left" Margin="21,43,0,0" x:Name="labelUserDefinedPurpose" VerticalAlignment="Top" Width="195" />
31-
<TextBox Text="{Binding UserDefinedPurpose, UpdateSourceTrigger=PropertyChanged}" LostFocus="UserDefinedPurposeTextBox_LostFocus" Height="23" Margin="14,45,10,0" x:Name="UserDefinedPurposeTextBox" VerticalAlignment="Top" VerticalContentAlignment="Center" ToolTip="Entering value here will reset Purpose to &quot;USERDEFINED&quot;" Grid.Column="1"/>
31+
<TextBox Text="{Binding UserDefinedPurpose, UpdateSourceTrigger=PropertyChanged}" LostFocus="UserDefinedPurposeTextBox_LostFocus" Height="23" Margin="14,45,10,0" x:Name="UserDefinedPurposeTextBox" VerticalAlignment="Top" VerticalContentAlignment="Center" ToolTip="{x:Static p:Resources.AddressInformationTooltip}" Grid.Column="1"/>
3232
<Label Content="{x:Static p:Resources.Description}" Height="28" HorizontalAlignment="Left" Margin="21,75,0,0" x:Name="labelDescription" VerticalAlignment="Top" Width="152"/>
3333
<TextBox Text="{Binding Description, UpdateSourceTrigger=PropertyChanged}" Height="23" HorizontalAlignment="Stretch" Margin="15,80,10,0" x:Name="DescriptionTextBox" VerticalAlignment="Top" VerticalContentAlignment="Center" Grid.Column="1"/>
3434
<Label Content="{x:Static p:Resources.AddressLine1}" Height="28" HorizontalAlignment="Left" Margin="21,110,0,0" x:Name="labelAddressLine1" VerticalAlignment="Top" Width="152"/>

Source/IFCExporterUIOverride/IFCExporterUIWindow.xaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
<CheckBox Content="{x:Static p:Resources.IncludeIfcSiteElevation}" Height="16" HorizontalAlignment="Left" Margin="10,112,0,0" x:Name="checkboxIncludeIfcSiteElevation" VerticalAlignment="Top" Checked="checkboxIfcSiteElevation_Checked" Unchecked="checkboxIfcSiteElevation_Checked" Width="569" Grid.ColumnSpan="2" />
8282
<CheckBox Content="{x:Static p:Resources.StoreIFCGUID}" Height="16" HorizontalAlignment="Left" Margin="10,133,0,0" x:Name="checkboxStoreIFCGUID" VerticalAlignment="Top" Checked="checkboxStoreIFCGUID_Checked" Unchecked="checkboxStoreIFCGUID_Checked" Width="569" Grid.ColumnSpan="2" />
8383
<CheckBox Content="{x:Static p:Resources.ExportBoundingBox}" Height="16" HorizontalAlignment="Left" Margin="10,154,0,0" Name="checkboxExportBoundingBox" VerticalAlignment="Top" Checked="checkboxExportBoundingBox_Checked" Unchecked="checkboxExportBoundingBox_Checked" Width="569" Grid.ColumnSpan="2" />
84-
<CheckBox Content="{x:Static p:Resources.UseOnlyTriangulation}" Margin="10,175,0,0" x:Name="checkBox_TriangulationOnly" Checked="checkBox_TriangulationOnly_Checked" Unchecked="checkBox_TriangulationOnly_Unchecked" ToolTip="Use this option if any tessellated geometry should remain as triangulated faces, or if the export performance is affected" HorizontalAlignment="Left" Width="588" Height="15" VerticalAlignment="Top"/>
85-
<CheckBox Content="{x:Static p:Resources.UseTypeNameOnlyForIfcType}" Margin="10,196,0,0" x:Name="checkbox_UseTypeNameOnly" Checked="Checkbox_UseTypeNameOnly_Checked" Unchecked="Checkbox_UseTypeNameOnly_Unchecked" ToolTip="Use this option to export IfcType name to use only Revit type name without the family name" HorizontalAlignment="Left" Width="588" Height="15" VerticalAlignment="Top"/>
86-
<CheckBox Content="{x:Static p:Resources.UseVisibleRevitNameAsEntityName}" Margin="10,217,0,0" x:Name="checkbox_UseVisibleRevitNameAsEntityName" Checked="Checkbox_UseVisibleRevitName_Checked" Unchecked="Checkbox_UseVisibleRevitName_Unchecked" ToolTip="Use this option to export Ifc Entity name to use visible Revit name " Height="19" VerticalAlignment="Top" HorizontalAlignment="Left" Width="588"/>
84+
<CheckBox Content="{x:Static p:Resources.UseOnlyTriangulation}" Margin="10,175,0,0" x:Name="checkBox_TriangulationOnly" Checked="checkBox_TriangulationOnly_Checked" Unchecked="checkBox_TriangulationOnly_Unchecked" ToolTip="{x:Static p:Resources.TriangulationOnlyTooltip}" HorizontalAlignment="Left" Width="588" Height="15" VerticalAlignment="Top"/>
85+
<CheckBox Content="{x:Static p:Resources.UseTypeNameOnlyForIfcType}" Margin="10,196,0,0" x:Name="checkbox_UseTypeNameOnly" Checked="Checkbox_UseTypeNameOnly_Checked" Unchecked="Checkbox_UseTypeNameOnly_Unchecked" ToolTip="{x:Static p:Resources.UseTypeNameOnlyTooltip}" HorizontalAlignment="Left" Width="588" Height="15" VerticalAlignment="Top"/>
86+
<CheckBox Content="{x:Static p:Resources.UseVisibleRevitNameAsEntityName}" Margin="10,217,0,0" x:Name="checkbox_UseVisibleRevitNameAsEntityName" Checked="Checkbox_UseVisibleRevitName_Checked" Unchecked="Checkbox_UseVisibleRevitName_Unchecked" ToolTip="{x:Static p:Resources.UseVisibleRevitNameTooltip}" Height="19" VerticalAlignment="Top" HorizontalAlignment="Left" Width="588"/>
8787
<Button x:Name="button_ExcludeElement" Content="{x:Static p:Resources.ExcludeEntitySelection}" Margin="16,0,0,12" Height="23" VerticalAlignment="Bottom" HorizontalAlignment="Left" Padding="5,0,5,0" Click="button_ExcludeElement_Click"/>
8888
</Grid>
8989
</TabItem>

Source/IFCExporterUIOverride/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@
6666
// The following information is used in the Open Source version as the release version number.
6767
// The number will show up in the Title bar of the export dialog as well as at the IFC header file
6868
// This number must be manually updated prior to releasing the new version
69-
[assembly: AssemblyVersion("24.1.0.22")]
70-
[assembly: AssemblyFileVersion("24.1.0.22")]
69+
[assembly: AssemblyVersion("24.1.1.6")]
70+
[assembly: AssemblyFileVersion("24.1.1.6")]
7171
#endif

Source/IFCExporterUIOverride/Properties/Resources.Designer.cs

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Source/IFCExporterUIOverride/Properties/Resources.resx

+15
Original file line numberDiff line numberDiff line change
@@ -959,4 +959,19 @@
959959
<data name="IFCSG" xml:space="preserve">
960960
<value>IFC-SG Regulatory Requirements View</value>
961961
</data>
962+
<data name="AddressInformationTooltip" xml:space="preserve">
963+
<value>Entering a value here will reset the Purpose field to "USERDEFINED".</value>
964+
</data>
965+
<data name="ExportHostAsSingleEntityTooltip" xml:space="preserve">
966+
<value>If this option is checked, don't create a container for floors and roofs unless exporting parts.</value>
967+
</data>
968+
<data name="TriangulationOnlyTooltip" xml:space="preserve">
969+
<value>Use this option if any tessellated geometry should remain as triangulated faces, or if the export performance is affected.</value>
970+
</data>
971+
<data name="UseTypeNameOnlyTooltip" xml:space="preserve">
972+
<value>Use this option to export the IFC type name as the Revit type name without the family name.</value>
973+
</data>
974+
<data name="UseVisibleRevitNameTooltip" xml:space="preserve">
975+
<value>Use this option to export IFC entity name as the visible Revit name.</value>
976+
</data>
962977
</root>

Source/Revit.IFC.Common/Enums/IFC4x3EntityType.cs

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
61
namespace Revit.IFC.Common.Enums.IFC4x3
72
{
83
/// <summary>

Source/Revit.IFC.Common/Enums/IFCEntityType.cs

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
6-
namespace Revit.IFC.Common.Enums
1+
namespace Revit.IFC.Common.Enums
72
{
83
/// <summary>
94
/// IFC entity types. Combining IFC2x2_ADD1, IFC2x3_TC1, IFC4 (Add2) and IFC4x entities, which are non-abstract
@@ -478,7 +473,6 @@ public enum IFCEntityType
478473
IfcInventory,
479474
IfcIrregularTimeSeries,
480475
IfcIrregularTimeSeriesValue,
481-
IfcIshapeProfileDef,
482476
IfcIShapeProfileDef,
483477
IfcJunctionBox,
484478
IfcJunctionBoxType,

Source/Revit.IFC.Common/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
[assembly: AssemblyTrademark("")]
1414
[assembly: AssemblyCulture("")]
1515

16-
[assembly: AssemblyVersion("24.1.0.22")]
17-
[assembly: AssemblyFileVersion("24.1.0.22")]
16+
[assembly: AssemblyVersion("24.1.1.6")]
17+
[assembly: AssemblyFileVersion("24.1.1.6")]
1818
#endif
1919

2020

Source/Revit.IFC.Export/Exporter/HostedSweepExporter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static void Export(ExporterIFC exporterIFC, HostedSweep hostedSweep, Geom
4646
if (catId == new ElementId(BuiltInCategory.OST_Gutter))
4747
ExportGutter(exporterIFC, hostedSweep, geometryElement, productWrapper);
4848
else
49-
ProxyElementExporter.Export(exporterIFC, hostedSweep, geometryElement, productWrapper);
49+
GenericElementExporter.ExportElement(exporterIFC, hostedSweep, geometryElement, productWrapper);
5050
}
5151

5252
/// <summary>

Source/Revit.IFC.Export/Exporter/WallSweepExporter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static void Export(ExporterIFC exporterIFC, WallSweep wallSweep, Geometry
4646
if (wallSweepInfo.WallSweepType == WallSweepType.Reveal)
4747
return;
4848

49-
if (!ProxyElementExporter.Export(exporterIFC, wallSweep, geometryElement, productWrapper))
49+
if (!GenericElementExporter.ExportElement(exporterIFC, wallSweep, geometryElement, productWrapper))
5050
return;
5151

5252
HostObjectExporter.ExportHostObjectMaterials(exporterIFC, wallSweep, productWrapper.GetAnElement(),

Source/Revit.IFC.Export/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

17-
[assembly: AssemblyVersion("24.1.0.22")]
18-
[assembly: AssemblyFileVersion("24.1.0.22")]
17+
[assembly: AssemblyVersion("24.1.1.6")]
18+
[assembly: AssemblyFileVersion("24.1.1.6")]
1919

2020
#endif
2121

0 commit comments

Comments
 (0)