Downward Compatibility and Coexistence
FBDI, downward compatibility, and CoexistenceBatch allow users to migrate their data
back and forth between CATIA V5 and 3DEXPERIENCE. Coexistence describes the combined use of these two
processes.
This section describes scenarios and error messages associated with downward
compatibility-FBDI loop or 3DEXPERIENCE data -> V5 data -> 3DEXPERIENCE content exchange. Any type of data processed by a
migration utility can be of two types:
- V5 Master
- 3DEXPERIENCE Master
V5 Master data means that the data has been first designed on CATIA V5 and a 3DEXPERIENCE Master on 3DEXPERIENCE. The first time a data is imported or exported, the
master information is stored into mapping tables as soon as mapping table option is
activated in downward compatibility or FBDI. This repository is shared by both migration
utilities: V5 Master if FBDI is used or 3DEXPERIENCE Master if downward compatibility is used.
Coexistence is activated by the user Interface through the Use Mapping
Table option and managed through the Coexistence context.
Downward compatibility manages to export V5 master data (FBDI or CoexistenceBatch manage
data designed in CATIA V5 and then imported into 3DEXPERIENCE).
- V5 master data are not reconverted or moved in the target directory but are kept at
their original location (the location from which they have been imported) and pointed by
newly 3DEXPERIENCE master created data in the target directory. The
following information message is displayed:
V5Master image object doesn't need to be converted.
-
When the V5 master data cannot be retrieved at its original location (the file has
been moved, removed or has no read access), downward compatibility fails to export the
file and does not continue with the export process. The following error message is
displayed:
Error: DownwardCompatibility cannot Convert objects down to "CATIAV5xxx" in coexistence mode. V5Master object "xx" can't be found. Restore the V5 Master object at its original location or change the ownership of the object using CoexistenceAdministration application.
You can also export a hybrid structure created or assembled in 3DEXPERIENCE,
containing both 3DEXPERIENCE
content and 3DEXPERIENCE content with CAD format. Hybrid structures are exported without mapping. Roundtrip is not available for hybrid
structures. Notes:
- You can export hybrid structures with 3DEXPERIENCE content with CAD format only if the content contains derived outputs.
- You can export 3DEXPERIENCE content with CATIA V5 format in both As Result and
As Spec modes, except 3DEXPERIENCE drawings with CATIA V5 format that you can only export in the As
Spec mode. If you select the As Result mode for a
3DEXPERIENCE drawing with CATIA V5 format, it is automatically exported in the As
Spec mode.
You can export 3DEXPERIENCE content with any other CAD format in the As Result mode
only. You cannot export 3DEXPERIENCE drawings with any other CAD format. You can export 3DEXPERIENCE derived outputs with any CAD format in the As Result mode
only. Since the derived outputs do not retain the links, the exported file will
contain missing links. For more information, see About Conversion Modes.
Moreover, coexistence implies that there are some limitations on modification scenarios. A
V5 Master data should not be modified on 3DEXPERIENCE and reciprocally. FBDI and downward compatibility
coexistence ensures that no CATIA data modification is accidentally overwritten by migration
utilities.
If 3DEXPERIENCE data (3DEXPERIENCE master) is modified in CATIA V5 and then processed in
coexistence scenario:
- Downward compatibility succeeds to export the data even if the V5 file has been
modified. The following warning message is displayed:
Data you are trying to export have first been created on 3DEXPERIENCE session but has been later modified on CATIA V5. It is a conflicting situation. Local CATIA V5 modification have been overwritten.
- Whereas FBDI fails to import the file and does not continue with the import process.
The following error message is
displayed:
Data you are trying to import have first been created on 3DEXPERIENCE session but has been later modified on CATIA V5. It is a conflicting situation. Current data as well as its pointed data will not be updated through FBDI.
V5 master and 3DEXPERIENCE master status on object can be changed using the
CoexistenceAdministration batch.
Report Name
Some restrictions apply when defining the report name.
- A string (or the value of a ${VARIABLE}) cannot contain the following
characters: * : ? < > | , \\ / ". These characters are ignored when defined in a
string.
- A list of "." characters is automatically replaced by a simple ".". A name cannot
contain the string "..".
- The global report name defined in the startup XML file has priority. For instance, if
you use this command line:
set
CATDWC_GlobalReportName=CATDWC_GlobalResults_Variable and if the
CATDWC.xml file contains the tag
<ReportName>CATDWC_GlobalResults_Xml</ReportName> then, the global
report will be named CATDWC_GlobalResults_Xml.htm in the report directory.
- If $VARIABLE is not exported or contains invalid characters, it is
partially or totally ignored. Below are three examples:
1) unset TOTO
GlobalReport=Myreport.${TOTO} means that the text editor displays
Myreport. 2) set TOTO=":><|\/"
GlobalReport=Myreport.${TOTO} means that the text editor displays
Myreport. 3) set TOTO="a?f" GlobalReport=Myreport.${TOTO}
means that the text editor displays Myreport.af.
Suffix for Object Report
The downward compatibility suffix is composed of two parts: a private part and a
public part.
- The private part is .dwc_convert_traces.htm.
- The public part can be changed by entering the string of your choice in the
Suffix for object report box.
For instance, if you enter .MyString, then the Suffix for object
report box automatically displays dwc_convert_traces.Mystring.htm.
You can change the private string by exporting the
CATDWC_ObjectReportName_Convert environment variable to the new default
private suffix.
You can define your own default public string and the "public versus private string"
position by exporting the CATDWC_ObjectReportNameAttachment environment
variable which allows you to:
Default values are [1,1]. Exported variables are private_string, positioned as a prefix,
i.e. private_stringpublic_string.htm. Possible values are:
- iLock=0,1 (default=1 - CATDWC_ObjectReportName_action is a private_string)
- iPosition=0,1 (default=0 - private_string.public_string)
You can use ${VARIABLE} to valuate the object report's suffix.
Environment Variables
You can export environment variables when running the DownwardCompatibility
batch.
Below is the exhaustive list of environment variables that can be exported:
| Variable |
Use |
| PLMBATCH_DownwardCompatibility_Startup |
When the batch has been run at least once, lets you prevaluate
parameters by specifying the path of the XML file to be used |
| PLMBATCH_Default_ReportDir |
Lets you change the default report directory by specifying a
valid directory (i.e. an existing directory with write access) |
| CATDWC_GlobalReportName |
Lets you change the default Global Report name by specifying a
new default name |
| CATDWC_ObjectReportName_Convert |
Lets you change the default private extension of the object
report name (".dwc_convert_traces.") by specifying a new default private
suffix |
| CATDWC_ObjectReportNameAttachment |
Lets you define your own default public string and the "public
versus private string" position. You can:
Default values are [1,1]. Exported variables are private_string, positioned as
a prefix, i.e. private_stringpublic_string.htm. Possible values are:
- iLock=0,1 (default=1 - CATDWC_ObjectReportName_Convert
is a private_string)
- iPosition=0,1 (default=0 - private_string.public_string)
|
In addition to this, you can use ${VARIABLE} to valuate any
DownwardCompatibility environment variable.
Object Conversion
The DownwardCompatibility batch creates .CATProduct, .CATDrawing and .CATPart new
objects including the minimum requested data to support downstream applications.
Mainly:
All the versions, minor or major, of the same 3DEXPERIENCE object synchronize on the same V5 object.
If you select a shape representation and apply a migration command, a new .CATPart object is created
with the targeted version, and data will be copied and pasted to the target object.
If you select a reference object, the product structure including the reference and all the
underlying instances and representations is converted into another new one by keeping the
product structure of the input data. Specifically, several instances of a single CATPart
remain several instances of the same new CATPart. Ports and connections are not in the
conversion scope.
The lower target release is restricted to V5R15.
Only "Representations to CATPart data conversion" and "Reference to CATProduct data
conversion" can be performed using the DownwardCompatibility batch.
The DownwardCompatibility batch is available in batch mode and in interactive mode.
Data Selection
The DownwardCompatibility user interface lets you select representations (CATIA
Shape documents, i.e. CATParts) and references (product reference: if you convert a
reference object, the product structure including the reference and all the underlying
instances and representations is converted into a new one by keeping the product structure
of the input data. It is not possible to select a partial structure under this reference).
Resulting Documents
All the resulting documents are saved in the same target directory defined in the
main DownwardCompatibility user interface. However, no conflict management is done: for
example , the two PLM_ExternalIDs A/B/C and A//BC result in the same document: ABC.CATxxx.
When the converted object contains specific characters in its PLM_ExternalID, the resulting
document is renamed for file system compliance. These specific characters are: * : ? <
> | \\ / " (and the blank character on UNIX).
If you select a shape representation and apply a migration command, a new CATPart or
CATDrawing is created with the targeted version, and data is copied and pasted to the target
document.
If you select a reference document, the product structure including the reference and all
the underlying instances and representations is converted into another new one by keeping
the product structure of the input data. Specifically, several instances of a single CATPart
remain several instances of the same new CATPart.
Conversion of a Single Representation
Converting a single representation creates a CATPart with the name of the
representation.
Conversion of a Single Reference
Converting a single reference creates a CATProduct with the name of the reference.
Conversion of a Reference with Representations Only
Converting a reference with representations only does not create any CATProduct but
only as many CATParts as there are representations.
Conversion of a Reference with Multiple References and Representations
Converting a reference with multiple references and representations creates
multiple CATProducts and CATParts.
Conversion of Specific Objects
There is a specific behavior for CATDrawing object, Layout representations and FTA
objects.
Regarding:
- CATDrawing objects, see Interactive Drafting User's Guide: Running the
Downward Compatibility Batch on a Drawing Representation.
- Layout representations, see 2D Layout for 3D Design User's Guide: Running the
Downward Compatibility Batch on a Drawing Representation.
- FTA objects, see Functional Tolerancing and Annotation User's Guide:
Functional Tolerancing and Annotation Downward Compatibility Batch.
Non supported reps (e.g. FEM, Review, Mechanism, Engineering Spec) are not processed by
the DownwardCompatibility batch and are filtered out from processing when they are either
directly selected by user or added internally in the scope of conversion.
In former case, a warning message is displayed in DownwardCompatibility Global Report.
Note that in both cases, the batch will not return failure.
Conversion of an Object in Update/Synchronization Mode
This section explains the criteria, which lead to a reconversion of an object and
the behaviors. The following behaviors have been defined:
Document Name
For a second conversion of the same 3DEXPERIENCE object, the name of the already existing converted V5
document will never change.
This is true in case of:
- The conversion of a new version (major or minor) of the same 3DEXPERIENCE object: in this case, no separate document will
be created for the conversion of different versions , but the already existing
converted V5 document will be updated. The name of the document will not change and
will be the same as the old version converted earlier.
- T part number configuration applied at the second conversion: for an
update/synchronization mode, the part number configuration will not be applied, as
the converted document generated during the first conversion will not change its
name.
However, in the case of a Multi-Representation mutation, where the Main Representation
criteria have changed for the second conversion, all documents will be converted again
according to the new Main Representation criteria.
Folder Location
For a second conversion of the same 3DEXPERIENCE object (with timestamp modification and 3DEXPERIENCE mastership), the V5 document will be updated at the
same folder location as imported/exported earlier. This can be either the folder location
from where the document has been previously imported (if it exists); and in other cases,
it will be re-generated at the target directory selected by user during export.
In general, the behavior in a ConvertToFile conversion in synchronization mode (with
mapping) for a 3DEXPERIENCE Representation object already imported from/exported
to path (Pathoriginal/V5Doc.CATxxx) and needs to be converted (modified) can be
summarized as below:
- If Pathoriginal/V5Doc.CATxxx exists
- Object is created in Pathoriginal/"PartNumber_criteria".CATxxx
- Report mentions Updated-3DEXPERIENCE Master with Result (or As Spec...) depending
on the case.
- If Pathoriginal/V5Doc.CATxxx does not exist
- Object is created in Targetdirectory/"PartNumber_criteria".CATxxx
- Report mentions Created-3DEXPERIENCE Master with Result (or As Spec...) depending
on the case.
The criteria which lead to an object reconversion include:
- Main DownwardCompatibility options change
- AsSpec/AsResult conversion options change
- Type of V5 representation change (see the Multirepresentation
section)
- Targeted V5 version lower than the previous one
- 3DEXPERIENCE object change
(Geometry/Attributes)
- Timestamp changes
- Specific case of 3DPart (only the 3DEXPERIENCE Reference changes, but not the corresponding
3DEXPERIENCE Representation)
|