Personalizzazione avanzata > Business Logic Customization > Data Exchange using Standards in Windchill > STEP Data Exchange using EXPRESS > PLCS Data Exchange > Windchill to PLCS Template Mapping
  
Windchill to PLCS Template Mapping
This section outlines the mapping of Windchill objects with the corresponding DEX templates available in the PLCS Schema.
WTPart Mapping
The following table depicts the common template mapping for WTPart and its associated attributes.
Attribute
Mapped Template
e_WTPart
REPRESENTING_PART
Name
assigning_identification
Number + (versionId + Iternation Id) + Org Name
representing_part
Ufid
assigning_identification_with_no_organization (associated to PART VIEW DEFINITION)
masterufid
assigning_identification_with_no_organization (associated to PART)
view
assigning_identification
lifeCycleState, lifeCycleTemplateName, domainName, externalTypeId, folderPath, defaultUnit, partSource, partType, versionLevel, defaultTraceCode, defaultUnit, endItem, genericType
assigning_product_property
product_property_text
WTDocument Mapping
The following table depicts the common template mapping for WTDocument and its associated attributes.
Attribute
Mapped Template
e_WTDocument
REPRESENTING_DOCUMENT
Name
assigning_identification
Number + (versionId + Iternation Id) + Org Name
representing_document
Ufid
assigning_identification_with_no_organization (associated to document version)
masterufid
assigning_identification_with_no_organization (associated to doc master)
description
assigning_descriptor
lifeCycleState, lifeCycleTemplateName, domainName, externalTypeId, folderPath, versionLevel, docType, docTitle, department,
assigning_product_property
product_property_text
BusinessField Mapping
BusinessFields (aka IBAs) are treated as simple properties associated to various Windchill business objects. Based on the type of property, different templates have been adopted for mapping purposes.
The following table depicts the common template mapping for BusinessField and its related attributes based on the data type of property
Attribute Datatype
Mapped Template
String, Boolean, HyperLink, Long, FloatingPoint
assigning_product_property
product_property_text
FloatingPointWithUnits
assigning_product_property
process_property_numeric
Timestamp
assigning_time
Common Mapping for various data types except FloatingPointWithUnit is straight forward. In later case apart from the common values one has to map the unit value associated with each one.
In PLCS, individual units must be associated with a Reference data. Currently only some basic unit-specific definitions are incorporated in the PTC-specific standard template library. For details see the “Reference Data Entries for BusinessField Attributes” section in Reference Data.
WTPartDescribeLink Mapping
Express G Representation of WTPartDescribeLink and WTPartReferenceLink.
The following figure shows the WTPartWTDocument link.
Detailed template mapping for WTPartDescribeLink and its associated attributes can be found from the following table.
Attribute
Mapped Template
e_WTPartDescribeLink
ASSIGNING_DOCUMENT
(with “role” as “Document_assignment”; “is_assigned_to” refers to part version; and “assigned_document” refers to document version)
WTPartReferenceLink Mapping
For Express G Representation of WTPartReferenceLink, see the WTPartWTDocument link diagram.
The following table describes the detailed template mapping for WTPartReferenceLink and its associated attributes.
Attribute
Mapped Template
e_WTPartReferenceLink
ASSIGNING_DOCUMENT
(with “role” as “Document_reference”; “is_assigned_to” refers to part version (referencedBy); and “assigned_document” refers to document (references))
WTPart with Representation Mapping
The following diagram details WTPart with representation and content mapping.
The following table describes the detailed template mapping for Representation and its associated attributes.
Entity/Attribute/Relation
Mapped Template
e_Representation (Entity)
REPRESENTING_DIGITAL_DOCUMENT
Association with WTPart
ASSIGNING_DOCUMENT
(role as “Derived_image” which is an extension RDL for “Document_assignment”. With assigned_document as representing_digital_document.doc and is_assigned_to as representing_part. View
Default, repContent.id, default, republishable,
derivationType, representationType, hasBoundingBox, boundingBox, hasOctree, octree
assigning_product_property
WTPART with Content Mapping
For a diagram detailing WTPart with content mapping, see the diagram in the “WTPart with Representation Mapping” section.
The following table describes the detailed template mapping for WTPart with content item association
Entity/Attribute/Relation
Mapped Template
e_contentItem (Entity)
REPRESENTING_DIGITAL_FILE
Association with WTPart
ASSIGNING_DOCUMENT
(role as “Document_assignment” With assigned_document as representing_digital_file. digital_fileand is_assigned_to as representing_part. View
Additional PLCS Resources
For details related to DEX Templates see: http://docs.oasis-open.org/plcs/dexlib/R5/dexlib/dex_index.htm
For the PLCS Guide to Reference Data Development see: http://www.oasis-open.org/committees/download.php/11732/PLCS%20Guide%20for%20Reference%20Data%20Developers
* 
These are external links. PTC does not own or author this content. The content is not hosted in the Windchill Help Center.