Export with PsetMapping - Unwanted Unit Conversion Occurring
- Dominant language
- C#
- Stars
- 637
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
# Unwanted Unit Conversion Occurring
When exporting the type parameters using the property set mapping the NominalLength, NominalWidth and Nominal Height converts the values to feet, whilst the source attributes are written in millimeters as expected.

## Ifcxml
### Original Params in one part of the ifc (exporting the Revit Parameters as property sets)

### Mapped Params in another part of the ifc (exporting the Mapped Parameters using [ the IFC2x3 Extended FM HandOve View.txt ](https://github.com/Autodesk/revit-ifc/blob/master/Install/Program%20Files%20to%20Install/IFC2x3%20Extended%20FM%20HandOver%20View.txt#L14))

## Ifc
At first I thought it was just ifcxml, but then checked the ifc output and the same appears there too.
### Original Params in one part of the ifc (exporting the Revit Parameters as property sets)

### Mapped Params in another part of the ifc (exporting the Mapped Parameters using [ the IFC2x3 Extended FM HandOve View.txt ](https://github.com/Autodesk/revit-ifc/blob/master/Install/Program%20Files%20to%20Install/IFC2x3%20Extended%20FM%20HandOver%20View.txt#L14))

Contributor guide
Research direction
Start with the IFC2x3 Extended FM HandOver View mapping file linked in the issue and trace how its mapped NominalLength, NominalWidth, and NominalHeight values are exported compared with the source property-set values. Reproduce the issue in both IFC and IFCXML output; done means mapped values retain the expected millimeter units without unwanted conversion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100