revit-ifc icon indicating copy to clipboard operation
revit-ifc copied to clipboard

IfcRoof Predefined Type not exported

Open gvanolst opened this issue 5 years ago • 16 comments

When I set IfcExportAs to IfcRoof.FLAT_ROOF it doesn't show up in Solibri and BIMcollab.

https://standards.buildingsmart.org/IFC/RELEASE/IFC2x3/TC1/HTML/ifcsharedbldgelements/lexical/ifcrooftypeenum.htm

gvanolst avatar Dec 11 '20 16:12 gvanolst

Can you include a sample file?

AngelVelezSosa avatar Dec 11 '20 16:12 AngelVelezSosa

Here's a WeTransfer link for the Revit-file and IFC-file.

https://we.tl/t-oTnf0AQcNx

gvanolst avatar Dec 11 '20 17:12 gvanolst

Test.zip

Any updates? I've uploaded the files again in case you didn't download the WeTransfer before it expired.

gvanolst avatar Jan 14 '21 13:01 gvanolst

The same problem occurs for IfcRamp, IfcRampFlight and IfcStair.

gvanolst avatar Feb 04 '21 14:02 gvanolst

Have you tried the latest update? We will take a look.

AngelVelezSosa avatar Feb 04 '21 14:02 AngelVelezSosa

Yes I just did test again.

Revit 21.1.20.44, IFC-exporter 21.2

Thank you!

gvanolst avatar Feb 04 '21 14:02 gvanolst

Seems to me that Roofs does not get Type Properties exported. But even if i put IFCExportAs on instance it does not pick up "IfcRoof.FLAT_ROOF"

So it could be two issues. Type Propeties is not exported for Roofs. And IFCExportAs does not work on Roofs.

Issue(s) is still persistent in the 2022.4.0 version.

HL-code avatar Mar 30 '22 19:03 HL-code

@WawanSolihin weren't you looking at this particular issue?

AngelVelezSosa avatar Mar 30 '22 19:03 AngelVelezSosa

@WawanSolihin weren't you looking at this particular issue? I will take a look. There were a few issues related to predefinedType not exported

WawanSolihin avatar Mar 31 '22 12:03 WawanSolihin

It looks like it works in 22.4.2.0 (https://github.com/Autodesk/revit-ifc/releases/tag/IFC_v22.4.2.0). I attached an example here IfcRoof-FLAT_ROOF.zip

WawanSolihin avatar Apr 01 '22 18:04 WawanSolihin

I use IFC export v.22.5.0.0 and I get the following issues:

Not Checked: Export IFC common property sets in the export setup:

Object exported as IfcRoot - no IfcType: Name - Name Exported (Correct) Type Name - Not exported (Incorrect) Predefined Type - None (Correct)

Object exported as IfcRoot.Flat_Roof: Name - Flat_Roof (Incorrect) Type Name - Not exported (Incorrect) Predefined Type - None (Incorrect = Should be Flat_Roof?) . .

Checked: Export IFC common property sets in the export setup:

Object exported as IfcRoot - no IfcType: Name - Name Exported (Correct) Type Name - Not exported (Incorrect) Predefined Type - None (Correct)

Object exported as IfcRoot.Flat_Roof: Name - Name Exported (Correct) Type Name - Not exported (Incorrect) Predefined Type - None (Incorrect = Should be Flat_Roof?)

SIAARDK avatar Aug 09 '22 18:08 SIAARDK

@WawanSolihin can you take another look?

AngelVelezSosa avatar Aug 09 '22 18:08 AngelVelezSosa

Just to confirm: This is export to IFC2x3 or IFC4? If IFC2x3, the result on Type is correct. In IFC2x3 there is NO IfcRoofType entity. The IfcRoofType entity is only introduced from IFC4. I will take a look at the FLAT_ROOF predefinedtype issue

WawanSolihin avatar Aug 09 '22 19:08 WawanSolihin

My findings is from IFC2x3. You are correct the Flat_Roof Predefinedtype IFC2x3 vs IFC4.

For IFC4 I don't see data in Type Name as well.

SIAARDK avatar Aug 09 '22 19:08 SIAARDK

The reported issue regarding the missing PredefinedType for IfcRoof in IFC2x3 is expected, as IfcRoofType does not exist in IFC2x3. However, for IFC4, where IfcRoofType is available, the absence of Type Name may indicate a potential issue. Further review is needed to determine whether the missing Type Name in IFC4 is due to a bug or an export configuration issue.

ArtemHnatko avatar Mar 21 '25 09:03 ArtemHnatko

This issue is also reported in Jira as "REVIT-234593" and is currently in the "Open" status.

ArtemHnatko avatar Mar 21 '25 10:03 ArtemHnatko