Business Rule: CATRule and CATRuleExit to Define Attribute Mapping between V5 and 3DX Tag User Attributes

Using a CATRule, and CATRuleExit, you can customize the attribute mapping between V5 and 3DX Tag user attributes using the business rule, EKL script.

This page discusses:

General Information

You can find DELRobTagAttributesFBDIMapping.CATRuleExit in ..\resources\knowledge\scripts for computation. The Opening ID is DELRobTagAttributesFBDIMapping_V5_TO_3DX.

You can find DELRobTagAttributesFBDIMappingComputation_V5_TO_3DX.CATRule in ..\resources\knowledge\scripts for computation. The default implementation is available. Modify the mapping logic between V5 and 3DX attributes using an EKL script.

Input/Output Parameters

Input:

  • TagOrTagGroup: Tag or TagGroup.
  • AttNameList_V5: List of attribute Names.
  • AttTypeList_V5: List of attribute Type.
  • AttValueList_V5: List of attribute Value.

Output:

  • AttNameList_3DX
  • AttTypeList_3DX
  • AttValueList_3DX

Example of usage

A test script shows how to create the mapping between the V5 and 3DX attribute:

  1. Takes the list of V5 attribute Names, Types and Values
  2. Performs the mapping Logic
  3. Output the final attributes considered in 3DEXPERIENCE.

Example: It added the V6_ prefix to all the V5 attributes and create the Tag attribute in 3DX during FBDI. Incorporate your logics to define the mapping between V5 and 3DX. During FBDI, it creates the Tag attributes accordingly.

V5 Attribute 3DX Attribute
HINBAN_1 V6_HINBAN_1
ITA_1 V6_ITA_1
WLD_WT V6_WLD_WT