Format Converter for IFC Resources

A resource is a PLM object (for example, a catalog or a business rule) or another type of file (for example, a bitmap or a spreadsheet). In Data Setup, resources are grouped in resource sets. A resource set is a PLM object that implements a single resource table. This topic lists available resources in Converter for IFC, to be used also for Building & Civil Data Exchange Resources.

This page discusses:

Logical Name Resource Type Mandatory Criteria Description
List of Object Mapping Definition XML document*

available in win_b64\startup\XCAD\EntityMapping

No

Defines all the files needed to perform the mapping between entities from external formats such as IFC, and 3DEXPERIENCE entities such Building or MEP.

IFC Custom Attribute Mapping Definition XML document*

available in win_b64\resources\standard\ifcCustomMapping\ifcCustomMapping.xml

No Defines the mapping between IFC custom attributes and ENOVIA attributes.
IfcMapping Element - - Defines the extent of IFC Attribute Custom Mapping.
StandardMapping Element - - Defines a mapping (at import) toward an IFC extension proposed by AEC modeler.
CustomMapping Element - - Defines a mapping (import and export) toward an IFC customer extension.
fromEntity Attribute Yes - Defines the name of the custom IFC Pset/Qto in the IFC file.
fromProperty Attribute Yes - Defines the name of the custom IFC Pset/Qto property in the IFC file.
toEntity Attribute Yes - Defines the name of the standard IFC Pset/Qto supported by the AEC modeler in 3DEXPERIENCE
toProperty Attribute Yes - Defines the name of the standard IFC Pset/Qto property defined in the AEC modeler in 3DEXPERIENCE.
scope Attribute No - Limits the mapping to a specific AEC modeler object type.

Description of XML Elements

The tables below describe elements and their possible attributes.

AECDataExchange.xml
Element Attribute (s) Description
NeutralID Name Represents a business object independently of any format. It is used in a data exchange operation to map entities of a given format to entities of another format.
IFC

ENOVIA

Name
  • Name
  • Priority
Formats supported by Building & Civil Data Exchange (under a NeutralID node).
Priority Gives the priority order to evaluate the condition The highest priority is evaluated first. If this attribute is not specified, the default value is 0.
Valuate
  • Attribute
  • Value
A node that ensures the nature of an object is kept during export.
Condition
  • Attribute
  • Value
Allows you to assign a condition to an entity attribute to determine its nature regardless from any format.

For example, an IfcBuilding which ObjectType attribute is valuated to BRIDGE will be considered as a BRIDGE (NeutralID sense). However an IfcBuilding which ObjectType attribute is not valuated will be considered as a BUILDING.

ifcCustomMapping.xml
Element Attribute (s) Description
StandardMapping
  • toProperty
  • fromProperty
  • toEntity
  • fromEntity
Describes the mapping between an Ifc attribute to an ENOVIA attribute for import and export operations.
toProperty Gives the name of an ENOVIA attribute.
fromProperty Gives the name of an IFC attribute.
fromEntity Gives the name of an IFC entity.
toEntity Gives the name of an ENOVIA extension.
scope Gives the type of ENOVIA objects that are targeted by the mapping operation.

XSD

<? xml version = " 1.0 " encoding = " utf-8 " ?>
 < xs:schema attributeFormDefault = " unqualified " elementFormDefault = " qualified " 
   xmlns:xs = " http://www.w3.org/2001/XMLSchema " >
 < xs:element name = " IfcMapping " >
   < xs:complexType > 
     < xs:sequence >
       < xs:element maxOccurs = " unbounded " name = " StandardMapping " > 
         < xs:complexType >
           < xs:attribute name = " fromEntity " type = " xs:string " use = " required " />
           < xs:attribute name = " fromProperty " type = " xs:string " use = " required " />
           < xs:attribute name = " toEntity " type = " xs:string " use = " required " />
           < xs:attribute name = " toProperty " type = " xs:string " use = " required " />
           < xs:attribute name = " scope " type = " xs:string " use = " optional " />
         </ xs:complexType >
       </ xs:element >
       < xs:element maxOccurs = " unbounded " name = " CustomMapping " >
         < xs:complexType >
           < xs:attribute name = " fromEntity " type = " xs:string " use = " required " />
           < xs:attribute name = " fromProperty " type = " xs:string " use = " required " />
           < xs:attribute name = " toEntity " type = " xs:string " use = " required " />
           < xs:attribute name = " toProperty " type = " xs:string " use = " required " />
           < xs:attribute name = " scope " type = " xs:string " use = " optional " />
         </ xs:complexType >
       </ xs:element > 
     </ xs:sequence >
    </ xs:complexType >
   </ xs:element >
  </ xs:schema >

XML

<?xml version="1.0" encoding="UTF-8"?>
<IfcMapping>
  <StandardMapping fromEntity="钢筋" fromProperty="酒吧作用" toEntity="IfcReinforcingBar" toProperty="PREDEFINEDTYPE"/>
  <StandardMapping fromEntity="楼梯" fromProperty="塑造型" toEntity="IfcStair" toProperty="PREDEFINEDTYPE"/>
  <StandardMapping fromEntity="Dimension" fromProperty="Thickness" toEntity="Qto_WallBaseQuantities" toProperty="Width" scope="AecWall"/>
  <StandardMapping fromEntity="Dimension" fromProperty="Thickness" toEntity="Qto_SlabBaseQuantities" toProperty="Width" scope="AecSlab"/>
  <CustomMapping fromEntity="壁纸" fromProperty="模式" toEntity="Pset_MyCompany_WallPaper" toProperty="Pattern" scope="AecWall"/>
  <CustomMapping fromEntity="壁纸" fromProperty="素材" toEntity="Pset_MyCompany_WallPaper" toProperty="Material" scope="AecWall"/>
</IfcMapping>

AECDataExchange XML File Example

<?xml version="1.0"?>
<AECDataExchange>
  <NeutralID Name="BUILDING">
    <IFC Name="IfcBuilding"/>
    <ENOVIA Name="Building"/>
  </NeutralID>
  <NeutralID Name="BRIDGE">
    <IFC Name="IfcBuilding" Priority="1">
      <Condition Attribute="ObjectType" Value="BRIDGE"/>
      <Valuate Attribute="ObjectType" Value="BRIDGE"/>
    </IFC>
    <ENOVIA Name="Bridge"/>
  </NeutralID>
  <NeutralID Name="BRIDGEABUTMENT">
    <IFC Name="IfcBuilding" Priority="1">
      <Condition Attribute="ObjectType" Value="BRIDGEABUTMENT"/>
      <Valuate Attribute="ObjectType" Value="BRIDGEABUTMENT"/>
    </IFC>
    <ENOVIA Name="BridgeAbutment"/>
  </NeutralID>
</AECDataExchange>

ifcCustomMapping XML File Example

<?xml version="1.0" encoding="utf-8"?>
<IfcMapping>
<StandardMapping fromEntity="Dimension" fromProperty="Thickness" toEntity="Qto_BeamBaseQuantities" toProperty="Length" scope="AecBeam"/>
</IfcMapping>