To integrate your company’s customized data model in STEPPDM exchanges using ISO STEP AP242 XML, it is possible to configure a mapping in a file called cust-STEP-mapping.xml
.
An example of object and attribute
mappings of a sample customized
3DEXPERIENCE platform
data model is provided with an installation in the directory <Installation path>\reffiles\STEPPDM\config\client
.
The structure of file cust-STEP-mapping.xml
is a list of <Object>
xml tags inside the <ObjectsConfig>
xml
container element:
<STEPAP242XMLCustConfig …>
<ObjectsConfig>
<Object …>
<attribute …>
<attribute …>
…
</Object>
<Object …>
<attribute …>
<attribute …>
…
</Object>
…
</ObjectsConfig>
</STEPAP242XMLCustConfig>
Each <Object>
xml element corresponds to the declaration of a mapping between a
STEPPDM entity and object type of the 3DEXPERIENCE platform data model. Each <Object>
xml element contains declarations for attribute mapping. The format of <Object>
xml
element is as following:
<Object Type_STEPAP242XML="…" Type_3DEXPERIENCE="…" CustomizedType_STEPAP242XML="…">
where,
Type_STEPAP242XML
: STEP AP242 XML entity name (xml tag, for example: Part, Document).
Type_3DEXPERIENCE
: 3DEXPERIENCE platform entity type (existing or customized).
CustomizedType_STEPAP242XML
: User defined name corresponding to the
classification of the Part or Document object elements in the STEPAP242XML file.
For each object an attribute mapping should be provided. The attribute mapping is defined into an <attribute>
element. The format of the <attribute>
xml element is as following:
<attribute Name_STEPAP242XML ="…" Name_3DEXPERIENCE ="…" type="…" >
where,
Name_STEPAP242XML
: Name of the STEP AP242 XML PropertyValue
.
Name_3DEXPERIENCE
: Name of 3DEXPERIENCE platform attribute to be exchanged. It must correspond to an
attribute declared on the 3DEXPERIENCE platform object type.
type
: Attribute data type. Some of the possible values are boolean, double,
integer, string, dateTime.
Refer cust-STEP-mapping.xsd
file, for a complete list of possible
values.