-
Go to Installation_Path\win_b64\startup\XCAD\EntityMapping.
Files to modify are:
-
To modify the default mapping, open and edit ENOVIA_Building.xml
and replace values as required.
-
To complete the default mapping.
-
Open DataExchangeNeutralID.xml, and add a line with a new
NeutralID.
For example, add <NeutralID Name = "CustomVerticalBeam" Discipline =
"Building" />
-
Open and edit IFC.xml to map an IFC entity onto the new
NeutralID.
For example:
<NeutralID Name ="CustomVerticalBeam">
<Entity Name = "IfcColumn">
</Entity>
</NeutralID>
-
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>
- Optional:
Modify or add custom mappings using TypeObject, PredefinedType, or AttributeGroup to
define conditions, values, and priorities.
-
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>
-
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>
-
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>
-
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>
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.
-
Deploy the mapping files in Data Setup.
For more information, see About Data Setup for Converter for IFC.
Result:
In 3DEXPERIENCE,
conditional mapping maps IFC entities to PLM objects and avoids data loss.