IFC4X3 IfcFacilityPart::PredefinedType (IfcFacilityPartTypeSelect)

Hi everyone,
IfcBridgePart seems to be deprecated in IFC4X3::RC2. So, I have to use IfcFacilityPart instead. How to differentiate IfcFacilityPart.PredefinedTypes (IfcFacilityPartTypeSelect) like IfcBridgePartTypeEnum.SuperStructure from IfcRailwayPartTypeEnum.SuperStructure?Example:
#417920= IFCFACILITYPART(‘1ImpBs001YhJ4pE3WrD3Wn’,#5,$,$,$,#417919,$,$,.ELEMENT.,.SUPERSTRUCTURE.,.NOTDEFINED.);Is #417920 an IfcBridgePart or an IfcRailwayPart instance?

IfcFacilityPart.PredefinedType is a select type of enumeration types. In P21, it is serialized with the enumeration type name, so it should be e.g.:

#417920=IFCFACILITYPART(‘1ImpBs001YhJ4pE3WrD3Wn’,#5,$,$,$,#417919,$,$,.ELEMENT.,IFCRAILWAYPARTTYPEENUM(.SUPERSTRUCTURE.),.NOTDEFINED.);

Also see a reference file here: https://github.com/IFCRail/IFC-Rail-Sample-Files/blob/main/4_Railway%20Spatial%20Structure%20(RSS)/UT_RSS_4/IFC%20reference%20files/UT_RSS_2_RD.ifc

1 Like

Yes, sorry, I Forgot the selected type definition.

1 Like

I’m a bit concern about this classification. IMHO – yet another way to classify.