Skip to content

Commit

Permalink
Merge pull request #687 from Autodesk/babio/24_2_update
Browse files Browse the repository at this point in the history
Update for IFC Extension 24.2
  • Loading branch information
o-babii authored Sep 28, 2023
2 parents 039f48a + 1d55333 commit ae7f00e
Show file tree
Hide file tree
Showing 30 changed files with 610 additions and 120 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,43 @@ <h3>Support Information</h3>
<p>or if you have an inquiry specific to this add-in, send us an e-mail to: <a href="mailto:Revit.apps@autodesk.com">Revit.apps@autodesk.com</a></p>
<h2 id="VersionHistory" name="VersionHistory">Version History</h2>

<div class="version">24.2.0.49</div><div class="versioninfo-bullet">
<br><p>
General:
<ul>
<li>This is the major update of IFC Exporter for Revit 2024.
<li>It contains a various improvements and bug fixes for the basic Revit 2024.
</ul>
</p>
<br>
<p>
Improvements:
<ul>
<li>Added export of the floor slab edge level.
<li>Added Width as an exported quantity to IFC for some assembly-based walls.
<li>Implemented IfcMaterialLayerSetUsage assigning to a single occurence.
<li>Improved export of sloped slabs.
<li>Improved stability when exporting projects to IFC with non-standard Author information in Project Standards.
<li>Updated French and German localization resources
</ul>
</p>
<br>
<p>
Bug Fixes:
<ul>
<li>Fixed an unexpected error during file export.
<li>Fixed bug with inverted geometry after export of parts as ceilings.
<li>Fixed bug with swapped Height and Width values of opening in Base Quantities in exported IFC.
<li>Fixed export of NetSideArea, GrossSideArea, Height and Width to IFC4 QTO for curtain walls.
<li>Fixed geometry transformation for some cases.
<li>Fixed missing material associations for solid model bodies.
<li>Fixed openings local placement export.
</ul>
</p>
<br>
</div>
<br>

<div class="version">24.1.1.6</div><div class="versioninfo-bullet">
<br><p>
General:
Expand All @@ -246,7 +283,7 @@ <h2 id="VersionHistory" name="VersionHistory">Version History</h2>
</p>
<br>
<p>
Bug Fixes:
Improvements:
<ul>
<li>The default import processor has been changed to Hybrid
</ul>
Expand Down
4 changes: 2 additions & 2 deletions Install/Program Files to Install/bundle/PackageContents.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2024" SeriesMax="R2024" />
<Components Description="2024">
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2024" SeriesMax="R2024" />
<ComponentEntry AppName="IFC For Revit 2024" Version="24.1.1" ModuleName="./Contents/2024/IFCExporterUIOverride.addin" AppDescription="IFC For Revit 2024" />
<ComponentEntry AppName="IFC For Revit 2024" Version="24.1.1" ModuleName="./Contents/2024/Revit.IFC.addin" AppDescription="IFC For Revit 2024" />
<ComponentEntry AppName="IFC For Revit 2024" Version="24.2.0" ModuleName="./Contents/2024/IFCExporterUIOverride.addin" AppDescription="IFC For Revit 2024" />
<ComponentEntry AppName="IFC For Revit 2024" Version="24.2.0" ModuleName="./Contents/2024/Revit.IFC.addin" AppDescription="IFC For Revit 2024" />
</Components>
</ApplicationPackage>
2 changes: 1 addition & 1 deletion Install/RevitIFCSetupWix/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">

<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">
<Product Id="1A9C2C21-2420-42D2-0000-992E73C12400" Name="Revit IFC 2024" Language="1033" Version="24.2.0.0" Manufacturer="Autodesk" UpgradeCode="1A9C2C21-24B8-42D2-0000-992E73C11B3F">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />

<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
Expand Down
2 changes: 1 addition & 1 deletion Install/RevitIFCSetupWix/RevitIFCSetupWix.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ProductVersion>3.8</ProductVersion>
<ProjectGuid>7dfbd495-c588-4c7b-b8f6-5b793adb06f2</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<OutputName>IFC for Revit 2024.1.1.6</OutputName>
<OutputName>IFC for Revit 2024.2.0.49</OutputName>
<OutputType>Package</OutputType>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
Expand Down
8 changes: 4 additions & 4 deletions Install/RevitIFCSetupWix/buildInstaller.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.msi product.wixobj -ext WixUIExtension
light.exe -ext WixUtilExtension -out RevitIFC2024.2.0.msi product.wixobj -ext WixUIExtension

copy RevitIFC2024.1.1.msi %1..\Releasex64
del RevitIFC2024.1.1.msi
copy RevitIFC2024.2.0.msi %1..\Releasex64
del RevitIFC2024.2.0.msi

echo %1..\Releasex64\RevitIFC2024.1.1.msi
echo %1..\Releasex64\RevitIFC2024.2.0.msi
4 changes: 2 additions & 2 deletions Source/IFCExporterUIOverride/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
// The following information is used in the Open Source version as the release version number.
// The number will show up in the Title bar of the export dialog as well as at the IFC header file
// This number must be manually updated prior to releasing the new version
[assembly: AssemblyVersion("24.1.1.6")]
[assembly: AssemblyFileVersion("24.1.1.6")]
[assembly: AssemblyVersion("24.2.0.49")]
[assembly: AssemblyFileVersion("24.2.0.49")]
#endif
87 changes: 84 additions & 3 deletions Source/IFCExporterUIOverride/Properties/Resources.de.resx
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@
<value>Neue Export Einstellungen</value>
</data>
<data name="DeleteSelectedSetup" xml:space="preserve">
<value>Löschen</value>
<value>Ausgewählte Einstellung löschen.</value>
</data>
<data name="Next" xml:space="preserve">
<value>Weiter…</value>
Expand Down Expand Up @@ -640,7 +640,7 @@
<value>IFC4 Reference View</value>
</data>
<data name="Help" xml:space="preserve">
<value>Wie gebe ich eine Export Einstellungen an</value>
<value>Wie gebe ich eine Export Einstellungen an?</value>
</data>
<data name="ExportSpecificSchedules" xml:space="preserve">
<value>Nur Bauteillisten mit IFC, Pset oder Allgemein im Titel exportieren</value>
Expand Down Expand Up @@ -730,7 +730,7 @@
<value>Anforderung für Austausch</value>
</data>
<data name="ExportSelectedSetup" xml:space="preserve">
<value>Aktuelle Einstellungen speichern</value>
<value>Aktuelle Einstellungen speichern ...</value>
</data>
<data name="InternalCoordinates" xml:space="preserve">
<value>Interne Koordinaten</value>
Expand Down Expand Up @@ -795,4 +795,85 @@
<data name="ER_StructuralShort" xml:space="preserve">
<value>Structural</value>
</data>
<data name="GeoReference" xml:space="preserve">
<value>Geografische Referenz</value>
</data>
<data name="HelpAssignIfcEntity" xml:space="preserve">
<value>Wie kann ich die IFC-Klasse und den vordefinierten Typ zuordnen?</value>
</data>
<data name="ExpandAll" xml:space="preserve">
<value>Alle ausklappen</value>
</data>
<data name="ExcludeEntitySelection" xml:space="preserve">
<value>Zu exportierende IFC-Klassen ...</value>
</data>
<data name="Elevation" xml:space="preserve">
<value>Höhe</value>
</data>
<data name="Eastings" xml:space="preserve">
<value>Rechtswert</value>
</data>
<data name="Northings" xml:space="preserve">
<value>Hochwert</value>
</data>
<data name="AngleTrueNorth" xml:space="preserve">
<value>Winkel vom geografischen Norden</value>
</data>
<data name="CollapseAll" xml:space="preserve">
<value>Alle zusammenklappen</value>
</data>
<data name="DeleteOldConfiguration" xml:space="preserve">
<value>Alte Konfiguration löschen</value>
</data>
<data name="GeodeticDatum" xml:space="preserve">
<value>Geodätisches Datum</value>
</data>
<data name="HelpSelectEntityForExport" xml:space="preserve">
<value>Wie wirken sich die Auswahl der zu exportierenden IFC-Klassen auf den Export?</value>
</data>
<data name="IFCSchemaVersion" xml:space="preserve">
<value>IFC Schema Version</value>
</data>
<data name="InternalCoordinatesInTN" xml:space="preserve">
<value>Interne Koordinaten an den geografischen Norden orientiert</value>
</data>
<data name="MultipleAssignments" xml:space="preserve">
<value>Mehrfache Zuweisung wurde bei den ausgewählten Objekten gefunden !</value>
</data>
<data name="NoPredefinedType" xml:space="preserve">
<value>IFC-Klasse besitzt keinen vordefinierten Typ</value>
</data>
<data name="Override" xml:space="preserve">
<value>Überschreiben</value>
</data>
<data name="PredefinedTypeSelection" xml:space="preserve">
<value>Auswahl des vordefinierten Typs</value>
</data>
<data name="ProjectedCRSDesc" xml:space="preserve">
<value>Beschreibung</value>
</data>
<data name="ProjectInTN" xml:space="preserve">
<value>Projektbasispunkt an den geografischen Norden orientiert</value>
</data>
<data name="ProjectSite" xml:space="preserve">
<value>Vermessungspunkt</value>
</data>
<data name="UseTypeNameOnlyForIfcType" xml:space="preserve">
<value>Den Typnamen nur für IFC-Typnamen verwenden</value>
</data>
<data name="UseVisibleRevitNameAsEntityName" xml:space="preserve">
<value>Sichtbaren Namen in Revit als IFC-Entitätsname verwenden</value>
</data>
<data name="Search" xml:space="preserve">
<value>Suchen</value>
</data>
<data name="SaveConfigurationChanges" xml:space="preserve">
<value>Änderungen in die IFC-Exporteinrichtung speichern</value>
</data>
<data name="SaveChanges" xml:space="preserve">
<value>Änderungen speichern</value>
</data>
<data name="ResetToOriginals" xml:space="preserve">
<value>Zurücksetzen</value>
</data>
</root>
81 changes: 81 additions & 0 deletions Source/IFCExporterUIOverride/Properties/Resources.fr.resx
Original file line number Diff line number Diff line change
Expand Up @@ -799,4 +799,85 @@
<data name="ER_StructuralShort" xml:space="preserve">
<value>Structural</value>
</data>
<data name="AngleTrueNorth" xml:space="preserve">
<value>Angle depuis le nord géographique</value>
</data>
<data name="CollapseAll" xml:space="preserve">
<value>Tout refermer</value>
</data>
<data name="DeleteOldConfiguration" xml:space="preserve">
<value>Supprimer l'ancienne configuration</value>
</data>
<data name="Eastings" xml:space="preserve">
<value>Coordonnées Est</value>
</data>
<data name="Elevation" xml:space="preserve">
<value>Façade</value>
</data>
<data name="ExcludeEntitySelection" xml:space="preserve">
<value>Entités à exporter...</value>
</data>
<data name="ExpandAll" xml:space="preserve">
<value>Tout déployer</value>
</data>
<data name="GeodeticDatum" xml:space="preserve">
<value>Données géodésiques</value>
</data>
<data name="GeoReference" xml:space="preserve">
<value>Référence géographique</value>
</data>
<data name="HelpAssignIfcEntity" xml:space="preserve">
<value>Comment attribuer une entité IFC et un type prédéfini ?</value>
</data>
<data name="HelpSelectEntityForExport" xml:space="preserve">
<value>Comment les sélections d’entités IFC affectent-elles l’export ?</value>
</data>
<data name="IFCSchemaVersion" xml:space="preserve">
<value>Version du schéma IFC</value>
</data>
<data name="InternalCoordinatesInTN" xml:space="preserve">
<value>Origine interne orientée vers le nord géographique</value>
</data>
<data name="MultipleAssignments" xml:space="preserve">
<value>Affectations multiples trouvées dans les objets sélectionnés.</value>
</data>
<data name="NoPredefinedType" xml:space="preserve">
<value>L'entité n'a pas de type prédéfini</value>
</data>
<data name="Northings" xml:space="preserve">
<value>Coordonnées Nord</value>
</data>
<data name="Override" xml:space="preserve">
<value>Ecraser</value>
</data>
<data name="PredefinedTypeSelection" xml:space="preserve">
<value>Sélection du type prédéfini</value>
</data>
<data name="ProjectedCRSDesc" xml:space="preserve">
<value>Description</value>
</data>
<data name="ProjectInTN" xml:space="preserve">
<value>Point de base du projet orienté vers le nord géographique</value>
</data>
<data name="ProjectSite" xml:space="preserve">
<value>Site du projet</value>
</data>
<data name="ResetToOriginals" xml:space="preserve">
<value>Réinitialiser</value>
</data>
<data name="SaveChanges" xml:space="preserve">
<value>Sauvegarder les modifications</value>
</data>
<data name="SaveConfigurationChanges" xml:space="preserve">
<value>Enregistrer les modifications apportées à la configuration de l'export IFC</value>
</data>
<data name="Search" xml:space="preserve">
<value>Recherche</value>
</data>
<data name="UseTypeNameOnlyForIfcType" xml:space="preserve">
<value>Utiliser le nom du type uniquement pour le nom du type IFC</value>
</data>
<data name="UseVisibleRevitNameAsEntityName" xml:space="preserve">
<value>Utiliser le nom Revit visible comme nom de l'IFCEntity</value>
</data>
</root>
4 changes: 2 additions & 2 deletions Source/Revit.IFC.Common/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: AssemblyVersion("24.1.1.6")]
[assembly: AssemblyFileVersion("24.1.1.6")]
[assembly: AssemblyVersion("24.2.0.49")]
[assembly: AssemblyFileVersion("24.2.0.49")]
#endif


Expand Down
11 changes: 7 additions & 4 deletions Source/Revit.IFC.Export/Exporter/BodyData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public BodyData(BodyData bodyData)
ShapeRepresentationType = bodyData.ShapeRepresentationType;
OffsetTransform = bodyData.OffsetTransform;
MaterialIds = bodyData.MaterialIds;
RepresentationItemInfo = bodyData.RepresentationItemInfo;
}

/// <summary>
Expand Down Expand Up @@ -185,14 +186,16 @@ public MaterialAndProfile materialAndProfile
}

/// <summary>
/// Static function to create a new copy of BodyData but resetting the MaterialIds
/// Static function to create a new copy of BodyData
/// </summary>
/// <param name="bodyDataIn">the input BodyData</param>
/// <returns>the new copy of BodyData with cleared MaterialIds</returns>
public static BodyData Create(BodyData bodyDataIn)
/// <param name="resetMaterials">indicates whether we want to clear the MaterialIds </param>
/// <returns>the new copy of BodyData</returns>
public static BodyData Create(BodyData bodyDataIn, bool resetMaterials)
{
BodyData retBodyData = new BodyData(bodyDataIn); // create a new copy of bodyDataIn
retBodyData.MaterialIds.Clear(); // Clear the MaterialIdsList
if (resetMaterials)
retBodyData.MaterialIds.Clear();
return retBodyData;
}
}
Expand Down
Loading

0 comments on commit ae7f00e

Please sign in to comment.