Mapping Attributes (On Premise)

You can map attributes from CAD to PLM and PLM to CAD while saving an Inventor® component or assembly in 3DEXPERIENCE. Use MQL commands to map the attributes .

This task shows you how to:


Before you begin: Log in to 3DEXPERIENCE
You can view the default attributes as below that are mapped by GCO.
  • MCADInteg-CADToMxAttribMapping

    assemblyFamily,$$Description$$|XCADModelRepReference,V_description

    componentFamily,$$Description$$|XCADModelRepReference,V_description

    assemblyInstance,$$Description$$|VPMReference,V_description

    componentInstance,$$Description$$|VPMReference,V_description

    assembly,$$Description$$|VPMReference,V_description

    component,$$Description$$|VPMReference,V_description

    drawing,$$Description$$|Drawing,V_description

  • MCADInteg-MxToCADAttribMapping

    XCADModelRepReference,V_description|assemblyFamily,$$Description$$

    XCADModelRepReference,V_description|componentFamily,$$Description$$

    VPMReference,V_description|assemblyInstance,$$Description$$

    VPMReference,V_description|componentInstance,$$Description$$

    VPMReference,V_description|assembly,$$Description$$

    VPMReference,V_description|component,$$Description$$

    Drawing,V_description|drawing,$$Description$$

Note: You can create custom attributes both at CAD side and 3DEXPERIENCE side and map them.

Map System Attributes

  1. Open a part in Inventor®.
  2. Click Properties from File.
  3. Click Summary.
  4. Assign a value to an attribute.

    For example, enter Design Part in the text box provided against the attribute Comments

    component,$$Comments$$|VPMReference, V_Description

    In MQL, mod bus InventorUPS-GlobalConfig InventorUPS TEAM MCADInteg-CADToMxAttribMapping component,$$Comments$$|VPMReference, V_Description

    .

  5. Map the Description attribute in MCADInteg-MxToCADAttribMapping attribute of current Global Config Object for supporting 3DEXPERIENCE to Inventor® attribute transfer.

    VPMReference, V_Description|component,$$Comments$$

    In MQL, mod bus InventorUPS-GlobalConfig InventorUPS TEAM MCADInteg-MxToCADAttribMapping VPMReference, V_Description|component,$$Comments$$

Note: If you have used system (in case of 3DEXPERIENCE) or summary (in case of Inventor®) attributes, envelop them by $$ for correct identification.

For example, $$Comments$$, $$Author$$

Map Custom Attributes

You can transfer value of attributes fromInventor® to 3DEXPERIENCE and vice versa with the use of attribute mapping.

Context:

From Inventor® to 3DEXPERIENCE

  1. At CAD side, create an Inventor® component and click Custom from iProperties tab.
  2. Add a custom attribute and assign a value.

    For example, assign a value to AttrName attribute.

  3. Add the attribute mapping to the object with following object identification,

    Type: Inventor®UPS-GlobalConfig

    Name: Inventor® (UPS)

    Revision: TEAM

    Attribute to be updated: MCADInteg-CADToMxAttribMapping

    Syntax:

    • For by default attributes: CAD Type,CAD AttrName|3DEXPERIENCE Type,3DEXPERIENCE AttrName
    • For user-defined extension attributes: CAD Type,CAD AttrName|3DEXPERIENCE Type,Ext(<package>/<extension>).<3DEXPERIENCE AttrName>

    Example(by default): assemblyInstance,Description|VPMReference,V_description

    Example(user-defined extension attributes): assemblyInstance,SWAttr1|VPMReference,Ext(OtbIRPCConfiguration/XP_VPMReference_Ext).CustoAttr1

    CustoAttr1 is the user-defined extension attribute added on type VPMReference.

From 3DEXPERIENCE to Inventor®

Add the attribute mapping to the object with following object identification,

Type: Inventor®UPS-GlobalConfig

Name: Inventor® (UPS)

Revision: TEAM

Attribute to be updated: MCADInteg-MxToCADAttribMapping

Syntax:

  • For by default attributes: 3DEXPERIENCE Type,3DEXPERIENCE AttrName|CAD Type,CAD AttrName
  • For user-defined extension attributes: 3DEXPERIENCE Type,Ext(<package>/<extension>).<3DEXPERIENCE AttrName>|CAD Type,CAD AttrName

Example(by default): VPMReference,V_description|assemblyInstance,Description

Example(user-defined extension attributes): VPMReference,Ext(OtbIRPCConfiguration/XP_VPMReference_Ext).CustoAttr1|assemblyInstance,SWAttr1

CustoAttr1 is the user-defined extension attribute added on type VPMReference.

Notes:
  • From the Platform Management Dashboard > Content tab > Collaborative Spaces Configuration Center widget > Attribute Management, administrator can add attributes to physical product types (items). Administrator can use the Data Model Customization app to add attributes to XCADModelRepReference (Family) types and Drawing types.
  • You cannot save a custom attribute into 3DEXPERIENCE server, if the custom attribute is defined as mandatory but value is not provided at save for a such a mandatory custom attribute.
  • You cannot customize attribute mapping on cloud environments.
  • You can synchronize CAD attributes at open, only if the file is downloaded. This is the case if you perform open with an empty cache or if you perform a Get of the file.
  • If you want to synchronize a CAD file with CAD attribute modification in the web, you must use the Replace by Revision command.

Map One Attribute to Many Attributes

You can map attribute from Inventor® to many attributes from 3DEXPERIENCE.

  1. Open Inventor® component in 3DEXPERIENCE.
  2. Enter the MQL command;

    mod bus InventorUPS-GlobalConfig GlobalConfig InventorUPS TEAM MCADInteg-CADToMxAttribMapping component,$$Description$$| VPMReference,V_description component,$$Description$$| VPMReference,V_versionComment