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

Revit - IFC Export Update 22.6.2. Type Parameter not exportet

Open BIMReiter opened this issue 2 years ago • 6 comments

Hello, I just updated Revit 2022 to the latest IFC export version 22.6.2. and when exporting to IFC 2x3, self-applied type parameter information for all IfcRamp and IfcFooting disappears. In the previously used version (22.1.30.41) it worked without problems, but with geometry problems of profiled walls I decided to update. Did the expressions of the objects change until this update for the property sets? Does IfcElement no longer include the IfcRamp / IfcFooting? I've run through a few scenarios but always ended up with the same error. Only two default revision parameters are exported to these two object types, but no self-created type parameters are exported. In IFC 4 it worked, but I can't use this format because the follow-on software is not compatible with it so far.

Eigenschaftssätze

image image image

BIMReiter avatar Mar 06 '23 12:03 BIMReiter

I have been fixing similar issues, and I think the problem here is likely that in IFC2x3, ramps and footings don't have types. Let me see if my changes apply to these also.

AngelVelezSosa avatar Mar 06 '23 14:03 AngelVelezSosa

I found the same information that both (ramp and foundations) have no types in different contexts, but why does it work in the older version I'm using and how can I build a workaround to include them again in the new patch? As I said, I modified the psets in different ways and added IfcRamp, IfcFooting and IfcElement, but the same error always came up. I would be very grateful if you have already found a solution to the problem.

BIMReiter avatar Mar 06 '23 15:03 BIMReiter

In the old code, if the instance didn't have a type, the instance and type properties showed up on the instance, sometimes renamed because you can't have two property sets of the same name. Now it is only instance get instance properties and type gets type properties. This is right, but the regression is for objects that don't generate types. I've added for some but should check ramps and footings also.

AngelVelezSosa avatar Mar 06 '23 16:03 AngelVelezSosa

https://jira.autodesk.com/browse/REVIT-204391

JOuellette-Autodesk avatar Mar 09 '23 15:03 JOuellette-Autodesk

See earlier duplicate issue https://github.com/Autodesk/revit-ifc/issues/260

JOuellette-Autodesk avatar Mar 09 '23 21:03 JOuellette-Autodesk

The investigation confirmed that after the changes introduced in PR 49687, models with IfcFooting and IfcRamp are exported with IfcType as IfcTypeProduct in IFC2x3, and self-created type parameters are also exported.

The only possible remark is that when exporting to IFC using the 2x3 schema, self-created type parameters are placed in the PropertySet from the entity rather than in the PropertySet from the entity type, as they are when exporting with the IFC4 schema.

@AngelVelezSosa , could you confirm if the current exporter behavior sufficiently addresses this case so that the ticket can be considered resolved and closed?

Image

ArtemHnatko avatar Mar 18 '25 19:03 ArtemHnatko