Professional Documents
Culture Documents
b). Compatibility:
Attribute Mapping:
--> Each attribute definition specifies the name of a parameter in the Creo® model
(this is the attribute’s CAD name),
the name of the corresponding property in Teamcenter (its PDM name) and additional
information describing its default value,
what to do if the CAD parameter does not exist, and so on. The property’s CAD name
and PDM name must be specified,
and they must be the first and second tags, respectively, in an attribute
definition. The other elements of an attribute definition are optional and may
appear in any order.
For example, here is an attribute map for Creo® assemblies and parts:
<attribute_map cad_type="ASM:PRT">
<attribute>
<cad_name value="PartNumber"/>
<pdm_name value="item_id"/>
<missing_attribute_action value="create"/>
<direction value="pdmtocad"/>
</attribute>
<attribute>
<cad_name value="Weight"/>
<pdm_name value="ItemRevision Master.wgt"/>
<default type="Double">1.0</default>
<direction value="cadtopdm"/>
</attribute>
</attribute_map>