![]() |
This task will show you how Attribute mapping on Part Number can be
used to open two Versions of the same Part in the same Product
Structure. With default CATIA V5 settings it is not possible to load
two Versions, belonging to the same Part, under the same Assembly.
Opening two versions of the same ENOVIA Part Master in different CATIA
Editor windows (for example, two Product Structure workbench editors
for a CATProduct, or two Part Design workbench editors for a CATPart)
is already supported by CATIA V5.
|
||||
![]() |
Step1: CATIA V5 Has Been Started in View Product Structure only mode |
||||
You can set the View Product
Structure only mode thanks to a setting that can be accessed through the
ENOVIA V5 tab in the
Tools > Options > General > Compatibility:
|
|||||
Step2: Attribute Mapping has been set upon the Part |
|||||
The CATIA Part Number Attributes managed by CATIA Product Structure (in CATPart or CATProduct documents) can be mapped into an ENOVIA attribute using the PartNumber keyword in the XML Attribute Mapping file. For this, use the following declaration in the Attribute mapping XML file (see the VPM Navigator User's Guide for more information on how to activate Attribute Mapping): <AttributesMapping EntityType="Part" DomainName="PRODUCT"> <Attribute Name="XXXPartNumber" Type="STRING"> <CATIAInfo Name="PartNumber" Editable="No" Visible="Yes" /> <DBInfo Name="XXX" LCASubEntity="PM" Editable="Yes" Visible="Yes" /> </Attribute> The Editable field of the CATIAInfo declaration is set to
"Yes", so that the CATIA Part Number is copied into the corresponding ENOVIA
attribute XXX during the Save operation. |
|||||
![]() |
|
||||
|