Skip to content

Commit 29da6b1

Browse files
authored
Merge pull request #827 from Autodesk/babio/25_4
IFC 25.4 for Revit 2025
2 parents 21dbdf6 + d06e3d3 commit 29da6b1

Some content is hidden

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

43 files changed

+688
-262
lines changed
Binary file not shown.

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

+27
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,33 @@ <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">25.4.0.27</div><div class="versioninfo-bullet">
240+
<br><p>
241+
General:
242+
<ul>
243+
<li>This is the major release of IFC Exporter 25.4 for Revit 2025.
244+
<li>It contains a various improvements and bug fixes for the previous 25.2 version.
245+
</ul>
246+
</p>
247+
<br>
248+
<p>
249+
Improvements:
250+
<ul>
251+
<li>Added option that allows to export ceiling grids.
252+
<li>Implemented the ability to add type properties to instance properties for user-defined property sets.
253+
</ul>
254+
</p>
255+
<br>
256+
<p>
257+
Bug Fixes:
258+
<ul>
259+
<li>Restored the functionality of the IFC Export As parameter when using the IFC Exporter version lower than Revit.
260+
</ul>
261+
</p>
262+
<br>
263+
</div>
264+
<br>
265+
239266
<div class="version">25.2.0.5</div><div class="versioninfo-bullet">
240267
<br><p>
241268
General:
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<ApplicationPackage SchemaVersion="1.0" AutodeskProduct="Revit" ProductType="Application" Name="IFC Exporter for Revit" AppVersion="25.2.0.5" Description="This application seamlessly replaces the built-in IFC export capabilities of Revit 2025. " Author="Autodesk" Icon=".\Contents\Resources\IFCExporter.png" AppNameSpace="appstore.exchange.autodesk.com" OnlineDocumentation="http://www.autodesk.com" HelpFile=".\Contents\Resources\ADSKIFCExporterHelp.htm" ProductCode="{F1A1177D-4CE7-4AAA-B4E6-EC318112D7B4}" UpgradeCode="{1A9C2C21-24B8-42D2-0000-992E73C11B3F}" SupportedLocales="Enu">
2+
<ApplicationPackage SchemaVersion="1.0" AutodeskProduct="Revit" ProductType="Application" Name="IFC Exporter for Revit" AppVersion="25.4.0.27" Description="This application seamlessly replaces the built-in IFC export capabilities of Revit 2025. " Author="Autodesk" Icon=".\Contents\Resources\IFCExporter.png" AppNameSpace="appstore.exchange.autodesk.com" OnlineDocumentation="http://www.autodesk.com" HelpFile=".\Contents\Resources\ADSKIFCExporterHelp.htm" ProductCode="{F1A1177D-4CE7-4AAA-B4E6-EC318112D7B4}" UpgradeCode="{1A9C2C21-24B8-42D2-0000-992E73C11B3F}" SupportedLocales="Enu">
33
<CompanyDetails Name="Autodesk, Inc." Phone=" " Url="http://www.autodesk.com" Email="[email protected]" />
44
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2025" SeriesMax="R2025" />
55
<Components Description="2025">
66
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2025" SeriesMax="R2025" />
7-
<ComponentEntry AppName="IFC For Revit 2025" Version="25.2.0" ModuleName="./Contents/2025/IFCExporterUIOverride.addin" AppDescription="IFC For Revit 2025" />
8-
<ComponentEntry AppName="IFC For Revit 2025" Version="25.2.0" ModuleName="./Contents/2025/Revit.IFC.addin" AppDescription="IFC For Revit 2025" />
7+
<ComponentEntry AppName="IFC For Revit 2025" Version="25.4.0" ModuleName="./Contents/2025/IFCExporterUIOverride.addin" AppDescription="IFC For Revit 2025" />
8+
<ComponentEntry AppName="IFC For Revit 2025" Version="25.4.0" ModuleName="./Contents/2025/Revit.IFC.addin" AppDescription="IFC For Revit 2025" />
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-2520-42D2-0000-992E73C12500" Name="Revit IFC 2025" Language="1033" Version="25.2.0.5" Manufacturer="Autodesk" UpgradeCode="1A9C2C21-25B8-42D2-0000-992E73C11B3F">
5+
<Product Id="1A9C2C21-2540-42D2-0000-992E73C12500" Name="Revit IFC 2025" Language="1033" Version="25.4.0.27" Manufacturer="Autodesk" UpgradeCode="1A9C2C21-25B8-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 2025.2.0.5</OutputName>
9+
<OutputName>IFC for Revit 2025.4.0.27</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 RevitIFC2025.2.0.msi product.wixobj -ext WixUIExtension
14+
light.exe -ext WixUtilExtension -out RevitIFC2025.4.0.msi product.wixobj -ext WixUIExtension
1515

16-
copy RevitIFC2025.2.0.msi %1..\Releasex64
17-
del RevitIFC2025.2.0.msi
16+
copy RevitIFC2025.4.0.msi %1..\Releasex64
17+
del RevitIFC2025.4.0.msi
1818

19-
echo %1..\Releasex64\RevitIFC2025.2.0.msi
19+
echo %1..\Releasex64\RevitIFC2025.4.0.msi

Source/IFCExporterUIOverride/IFCExportConfiguration.cs

+21-1
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@ public Enum FacilityPredefinedType
209209
/// </summary>
210210
public bool ExportBaseQuantities { get; set; } = false;
211211

212+
/// <summary>
213+
/// Whether or not to include ceilings grids for ceilings in the export data.
214+
/// </summary>
215+
public bool ExportCeilingGrids { get; set; } = false;
216+
212217
/// <summary>
213218
/// True to include the material property sets.
214219
/// False to exclude them.
@@ -237,6 +242,11 @@ public Enum FacilityPredefinedType
237242
/// </summary>
238243
public string ExportUserDefinedPsetsFileName { get; set; } = "";
239244

245+
/// <summary>
246+
/// Whether or not to include type property to the user defined property sets.
247+
/// </summary>
248+
public bool UseTypePropertiesInInstacePSets { get; set; } = false;
249+
240250
/// <summary>
241251
/// True if the User decides to use the Parameter Mapping Table
242252
/// False if the user decides to ignore it
@@ -338,6 +348,12 @@ public Enum FacilityPredefinedType
338348
/// Use Author field in Project Information to set IfcOwnerHistory LastModified attribute
339349
/// </summary>
340350
public bool OwnerHistoryLastModified { get; set; } = false;
351+
352+
/// <summary>
353+
/// Use this field in Project Information to set how will be bars in uniform sets exported in IFC.
354+
/// </summary>
355+
public bool ExportBarsInUniformSetsAsSeparateIFCEntities { get; set; } = false;
356+
341357
/// <summary>
342358
/// Value indicating whether the IFC Entity Name will use visible Revit Name
343359
/// </summary>
@@ -478,6 +494,7 @@ public static IFCExportConfiguration CreateBuiltInConfiguration(IFCVersion ifcVe
478494
bool materialPsets,
479495
bool schedulesAsPSets,
480496
bool userDefinedPSets,
497+
bool useTypePropertiesInInstacePSets,
481498
bool userDefinedParameterMapping,
482499
bool PlanElems2D,
483500
bool exportBoundingBox,
@@ -487,7 +504,8 @@ public static IFCExportConfiguration CreateBuiltInConfiguration(IFCVersion ifcVe
487504
KnownERNames exchangeRequirement = KnownERNames.NotDefined,
488505
string customName = null,
489506
KnownFacilityTypes facilityType = KnownFacilityTypes.NotDefined,
490-
Enum facilityPredefinedType = null)
507+
Enum facilityPredefinedType = null,
508+
bool exportCeilingGrids = false)
491509
{
492510
IFCExportConfiguration configuration = new IFCExportConfiguration();
493511

@@ -512,13 +530,15 @@ public static IFCExportConfiguration CreateBuiltInConfiguration(IFCVersion ifcVe
512530
// Items from Additional Content Tab
513531
configuration.Export2DElements = PlanElems2D;
514532
configuration.ExportLinkedFiles = exportLinkedFiles;
533+
configuration.ExportCeilingGrids = exportCeilingGrids;
515534

516535
// Items from Property Sets Tab
517536
configuration.ExportInternalRevitPropertySets = internalSets;
518537
configuration.ExportBaseQuantities = exportBaseQuantities;
519538
configuration.ExportMaterialPsets = materialPsets;
520539
configuration.ExportSchedulesAsPsets = schedulesAsPSets;
521540
configuration.ExportUserDefinedPsets = userDefinedPSets;
541+
configuration.UseTypePropertiesInInstacePSets = useTypePropertiesInInstacePSets;
522542
configuration.ExportUserDefinedPsetsFileName = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + @"\" + configuration.Name + @".txt";
523543
configuration.ExportUserDefinedParameterMapping = userDefinedParameterMapping;
524544

0 commit comments

Comments
 (0)