Autodesk / revit-ifc

IFC for Revit and Navisworks (2019+)
471 stars 193 forks source link

Fittings system override material not exported #112

Open CyrilWaechter opened 5 years ago

CyrilWaechter commented 5 years ago

revit-Ifc info

Version : Exporter 19.2.0.0 - Alternate UI 19.2.0.0 Revit version : 2019.2

Issue description

When you export pipes or duct to IFC. SystemType material override is exported only for segments not for fittings.

Revit 3D view Shaded mode

image

Revit System Type settings exemple

image image

Resulting IFC

IFC 2x3 Coordination View 2.0

image

IFC 4 Reference View

image

IFC 4 Design Transfer View

image

Expected Behaviour

IFC 2x3 Coordination View 2.0 : Having fittings exported with SystemType material override as well IFC 4 Reference View : Having System material override exported IFC 4 Design Transfer View : Having fittings exported with SystemType material override as well and pipe fitting not dissapearing

Remark : An option to deactivate system override would be great (eg. for rendering purposes) but I don't know if has to be an option in Revit or revit-ifc.

ibober commented 3 years ago

The bug is still reproduced. image The model is attached. FittingColor.zip

MJansen22 commented 3 years ago

Having the same problem you guys already found a solution fot this?

CyrilWaechter commented 3 years ago

@MJansen22 No. You currently need to patch your ifc file after export using ifcopenshell / blenderbim add-on for example.

HL-code commented 2 years ago

Tested 2022. Still issue.

FittingColor

tcosse commented 2 years ago

Resolving this would be of much help

AndreeHub commented 1 year ago

@MJansen22 No. You currently need to patch your ifc file after export using ifcopenshell / blenderbim add-on for example.

Did you manage to patch it, i read the recepies on the openshell website and there is nothing conecring colors and ifc fitting. What recepie did you use to patch it?

CyrilWaechter commented 1 year ago

Did you manage to patch it, i read the recepies on the openshell website and there is nothing conecring colors and ifc fitting. What recepie did you use to patch it?

There is currently no recipe for this in official repository. It is possible to create one but no one yet (including myself) seems to be motivated enough to make it.

AndreeHub commented 1 year ago

There is a shared parameter in the ifc exporter called IfcSingleMaterialOverride ( https://github.com/Autodesk/revit-ifc/blob/master/Source/RevitIFCTools/IFC%20Shared%20Parameters-RevitIFCBuiltIn_ALL_grouped.txt) You can assign this parameter to the fittings, then write in the name of the material for which you wish the color to be added. This implies that you already have the materials that correspond to the system colors. This is a text parameter and you need to make sure that the name is the same between the value and the Material name in you project. So far its showing good results... 2022-11-07 14_36_38-BIMcollab ZOOM (free version)_ APO_BT10_XAR1_PP_A_E03_XX_416401#IFC-MODELL_001_V