Adding an Attribute (from/to 3DEXPERIENCE)

This section describes how to map attributes from 3DEXPERIENCE for synchronization.

Attributes can be either System attributes or Custom attributes. In 3DEXPERIENCE, System attributes are applied to any business object, such as Description, Owner, Type, Revision, etc. 3DEXPERIENCE Custom attributes are those that are defined and added to 3DEXPERIENCE types. The following sections describe the procedure to map attributes from ENOVIA for synchronization.

This task shows you how to:

Custom Attributes

This section shows the procedure to add a Custom Attribute, such as "Material" in SOLIDWORKS, and map it in 3DEXPERIENCE.

  1. On the SOLIDWORKS side:
    1. Open a part in SOLIDWORKS and click File > Properties > Custom.
    2. Add a Custom attribute called "Material" (text attribute) and assign a value, for example, "Aluminum".
  2. On the 3DEXPERIENCE side:
    1. In 3DEXPERIENCE, define an attribute called "Material" (string type). (Note: The name can be different.)
    2. Add this attribute to the relevant 3DEXPERIENCE types.
    3. To support the SOLIDWORKS to 3DEXPERIENCE attribute transfer, map the Material attribute in the MCADInteg-CADToMxAttribMapping attribute of the Global Config Object to componentFamily,Material|SW Component Family,Material.
    With these settings, if the user sets the "Material" attribute in SOLIDWORKS, to have it transferred to 3DEXPERIENCE and back, the user must synchronize the attributes with ENOVIA using the Synchronize option in the 3DEXPERIENCE menu.
  3. Update the Web Form type_IEFFamily.

System Attributes

If system (in the case of 3DEXPERIENCE) or summary (in the case of SOLIDWORKS) attributes are used, they must be formatted $$ ... $$ for correct identification.

For example,

$$Description$$, $$Author$$

The following table explains the supported system attributes in 3DEXPERIENCE that can be transferred back and forth with SOLIDWORKS.

Direction

Description

Owner

Type

Name

Revision

To ENOVIA

Supported

Supported

Not Supported

Not supported

Not supported

From ENOVIA

Supported

Supported

Supported

Supported

Supported

To add a Summary attribute, for example,Comments, in SOLIDWORKS and map it to Description in 3DEXPERIENCE:

  1. On the SOLIDWORKS side:
    1. Open a part in SOLIDWORKS and click File > Properties > Summary.
    2. Assign a value such as Design Part in the text box provided for the attribute Comments.
    3. Add a Custom attribute called "Material" (text attribute) and assign a value, for example, "Aluminum".
  2. On the 3DEXPERIENCE side:
    1. In 3DEXPERIENCE, define an attribute called "Description" (string type). (Note: Name can be different.)
    2. Add this attribute to the relevant 3DEXPERIENCE types.
    3. For supporting SOLIDWORKS to 3DEXPERIENCE attribute transfer, map the Description attribute in the MCADInteg-CADToMxAttribMapping attribute of the Global Config Object.
    4. For supporting 3DEXPERIENCE to SOLIDWORKS attribute transfer, map the Description attribute in the MCADInteg-MxToCADAttribMapping attribute of the current Global Config Object. Note: The mappings for System attributes must always be in lower case on the 3DEXPERIENCE side.

    Synchronize from SOLIDWORKS. Select ENOVIA > Synchronize.

Configuration Specific

You can also add a configuration specific attribute in SOLIDWORKS and map it in 3DEXPERIENCE.

The following example shows the steps to add a configuration specific attribute called "CheckedBy" in SOLIDWORKS and map it in ENOVIA.

  1. On the SOLIDWORKS side:
    1. Open a part having configurations in SOLIDWORKS and click File > Properties > Configuration Specific.
    2. Add a Configurations specific attribute called "CheckedBy" (text attribute) and assign "Design Engineer" as the value.
      This attribute is specific to the configuration that is currently active.
  2. On the 3DEXPERIENCE side:
    1. Define an attribute called "CheckedBy" (string type). (Note: The name can be different)
    2. Add this attribute to the relevant 3DEXPERIENCE types.
    3. For supporting SOLIDWORKS to 3DEXPERIENCE attribute transfer, may this CheckedBy attribute in the MCADInteg-CADToMxAttribMapping attribute of the Global Config Object. In this case, the mapping will be: componentInstance,CheckedBy|SW Component Instance,CheckedBy.
    4. For supporting 3DEXPERIENCE to SOLIDWORKS attribute transfer, map the CheckedBy attribute in the MCADInteg-MxToCADAttribMapping attribute of the current Global Config Object.

    With these settings, if you set the "CheckedBy" attribute in SOLIDWORKS, it will be transferred to 3DEXPERIENCE and back.

Note: You must select the Copy attribute option in the Check in or Checkout page of the specific instance. Alternatively, you can synch the attributes using the Synchronize option on the 3DEXPERIENCE menu.

You can assign both custom and configuration specific attributes simultaneously. To do so, map the custom attributes to the component family and the configuration specific attributes to the component instance. All the custom attributes are related with the Family CAD type, and all the configuration specific attributes are related with the specific instance CAD type.

Only mappings for major types are necessary. X-CAD Design Management internally handles some attributes for various types.