PR: not able to export built in material parameters into standardised IFC psets
Problem Description
There are two ways material psets come out:
- https://github.com/Autodesk/revit-ifc/blob/b83595ff01f72f2a63242e00daf01508f2264287/Source/Revit.IFC.Export/Utility/MaterialPropertiesUtil.cs#L56-L58 from built-in parameters into hardcoded property sets called things like "Identity" or "Structural".
- https://github.com/Autodesk/revit-ifc/blob/b83595ff01f72f2a63242e00daf01508f2264287/Source/Revit.IFC.Export/Utility/MaterialPropertiesUtil.cs#L60 using a custom mapping from custom project / shared parameters where you can use the user defined psets txt config file to put it in whatever Pset you want.
The problem is that the first way does not put data into standard bSI psets. So the Revit built-in concrete compression data goes into a pset called "Structural", not "Pset_MaterialConcrete". And the second way cannot map these "built-in parameters" to my knowledge.
So my possible workarounds are to 1. patch the IFC to put it in the right spot and delete the other parameters that don't interest me / aren't validated or 2. create another project parameter and have the data duplicated in two spots.
Revit Version
2024.0.x
IFC for Revit Addon Version
24.x.x
Windows Version
11 22H2
This is related to this issue: https://github.com/Autodesk/revit-ifc/issues/757
Yes, it's related but not exactly the same (#757 refers to attributes, whereas this is about properties). https://github.com/Autodesk/revit-ifc/issues/584 is also relevant and hints about this shortcoming.