Mapping IFC Entities Onto 3DEXPERIENCE PLM Objects

Edit the default file provided by theConverter for IFC to map IFC entities to 3DEXPERIENCE PLM Objects, such as AEC, MEP, and others.

Either modify the file to update default-mappings using baseline entities(available on cloud and on-premises, or add mappings for customized PLM products when available.

  1. Go to Installation_Path\win_b64\startup\XCAD\EntityMapping.

    Files to modify are:

    • IFC.xml: Describes the mapping between IFC entities and NeutralID.
    • DataExchangeNeutralID.xml: Describes the mapping between NeutralID and Discipline.

      Discipline specifies the mapping file to use. If Discipline is Building, the mapping file is Enovia_BUILDING.xml.

    • Enovia_BUILDING.xml describe the mapping between the NeutralID and the types.

  2. To modify the default mapping, open and edit ENOVIA_Building.xml and replace values as required.
  3. To complete the default mapping.    
    1. Open DataExchangeNeutralID.xml, and add a line with a new NeutralID.

      For example, add <NeutralID Name = "CustomVerticalBeam" Discipline = "Building" />

    2. Open and edit IFC.xml to map an IFC entity onto the new NeutralID.

      For example:

      <NeutralID Name ="CustomVerticalBeam">
      		<Entity Name = "IfcColumn">
      		</Entity>
      	</NeutralID>  
      

    3. Open and edit a 3DEXPERIENCE mapping file (for example ENOVIA_Building.xml) to map the NeutralID onto the customized 3DEXPERIENCE type.

      For example:

      <NeutralID Name ="CustomVerticalBeam" >
      		<Entity Name = "AecBeam">
      		</Entity>
      		</NeutralID>
      

  4. Optional: Modify or add custom mappings using TypeObject, PredefinedType, or AttributeGroup to define conditions, values, and priorities.    
    1. Add Simple Custom-Mapping.

      For Example:

      In, DataExchangeNeutralID.xml

      <NeutralID Name = "BEAM" Discipline = "Building" />

      In, IFC.xml

      <DataExchangeEntityMapping>
        <NeutralID Name = "BEAM" >
          <Entity Name = "IfcBeam"/>
        </NeutralID>
      </DataExchangeEntityMapping>

      In, ENOVIA_Building.xml

      <DataExchangeEntityMapping>
        <NeutralID Name = "BEAM" >
          <Entity Name = "AecBeam" Priority = "2"/>
        </NeutralID>
      </DataExchangeEntityMapping>

    2. Add Custom Mapping using TypeObject and PredefinedType.

      In, DataExchangeNeutralID.xml

      <NeutralID Name = "HVAC_FlexibleDuct" Discipline = "HVAC" />

      In, IFC.xml

      <DataExchangeEntityMapping>
      	<NeutralID Name = "HVAC_FlexibleDuct" >
      		<Entity Name = "IfcDuctSegment"  Priority = "2" >
      			<Condition Attribute = "PredefinedType" Value = "FLEXIBLESEGMENT" />
      			<Valuate Attribute = "TypeObject" Value = "IfcDuctSegmentType"/>
      			<Valuate Attribute = "PredefinedType" Value = "FLEXIBLESEGMENT"/>
      		</Entity>
      		<Entity Name = "IfcFlowSegment"  Priority = "3" >
      			<Condition Attribute = "TypeObject" Value = "IfcDuctSegmentType" />
      			<Condition Attribute = "PredefinedType" Value = "FLEXIBLESEGMENT" />
      		</Entity>
      	</NeutralID>
      </DataExchangeEntityMapping>

      In, ENOVIA_Building.xml

      <DataExchangeEntityMapping>
      	<NeutralID Name = "HVAC_FlexibleDuct" >
      		<Entity Name = "HVAC_Flexible_Duct" />
      	</NeutralID>
      </DataExchangeEntityMapping>

    3. Modify or add custom mapping using ObjectType.

      For Example:

      In, DataExchangeNeutralID.xml

      <NeutralID Name = "CustomVerticalBeam" Discipline = "Building" />

      In, IFC.xml

      <DataExchangeEntityMapping>
      	<DataExchangeEntityMapping>
      		<NeutralID Name ="CustomVerticalBeam">
      			<Entity Name = "IfcColumn">
      				<Condition Attribute = "ObjectType" Value = "CustomColumnFromBeam"/>
      			</Entity>
      		</NeutralID>
      	</DataExchangeEntityMapping>
      </DataExchangeEntityMapping>

      In, ENOVIA_Building.xml

      <DataExchangeEntityMapping>
      	<NeutralID Name = "HVAC_FlexibleDuct" >
      		<Entity Name = "HVAC_Flexible_Duct" />
      	</NeutralID>
      </DataExchangeEntityMapping>

    4. Add custom mapping using AttributeGroup.

      For Example:

      In, DataExchangeNeutralID.xml

      <NeutralID Name = "PYLON" Discipline = "Building"/>

      In, IFC.xml

      <DataExchangeEntityMapping>
      	<NeutralID Name = "PYLON" >
      		<Entity Name = "IfcBuildingElementProxy" Priority = "100">
      			<Condition AttributeGroup="Clasificacion" Attribute = "ClaseDeObjeto" Value = "APOYO"/>
      		</Entity>
      	</NeutralID>
      </DataExchangeEntityMapping>

      In, ENOVIA_Building.xml

      <DataExchangeEntityMapping>
      	<NeutralID Name = "PYLON" >
      		<Entity Name = "EPSHighVoltagePylon" Priority = "2"/>
      	</NeutralID>
      </DataExchangeEntityMapping>

      Important: If no custom mapping exists for the entity.

      For Example:

      A PYLON is modeled in Revit®.

      During IFC export, because no custom mapping exists, the PYLON is exported as IFCBuildingElementProxy with its PSet attributes.

      When importing this IFC file into , the PYLON object is not created, and the model misses that element.

      Tip:

      You can map IFCBuildingElementProxy to PYLON in 3DEXPERIENCE using additional mapping with AttributeGroup.

  5. Deploy the mapping files in Data Setup.

    For more information, see About Data Setup for Converter for IFC.

    Tip: Alternatively, modify the runtime view in winb-64.

Result:

In 3DEXPERIENCE, conditional mapping maps IFC entities to PLM objects and avoids data loss.