This document will teach you how
CATIA V5 manages the replacement of a reference pointed to by an instance. Though powerful, this feature has to be handled carefully, because it may lead to pitfalls. Therefore you will find here useful tips to handle replacing actions. Replacing a reference is an open subject, that is to say, an infinity of combinations can be made. This document reviews a wide, though limited, range of possibilities. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
1. General Considerations on Replacing a reference |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
1.1 What is a reference? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
A root product is described in matter of
instances. As an example the description of a table will be an instance of
plate and four instances of legs. The relation between the table and its
components is described by a tree:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
These instances are occurrences of things that
have to be defined elsewhere. Therefore these instances point to
references. The four legs being the same they point to a unique reference:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Furthermore a reference may have a
representation:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
In turn, this Root Product description may be used as a REFERENCE in the definition of a new Root Product. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
1.2 Replacing a reference |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
If we want to change the type of legs of our
table, say square section legs to round section legs, we can break the
relation between the reference and establish a relation with a new
reference.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
1.3 Replacing a unique reference from several instances with several references |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Changing references allows combinations, we can
change a unique reference from several instances with several references.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
2. Compatibility |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
The above description points out the importance
of compatibility, that is the keyword in matter of reference replacing. The best compatibility will be achieved when the new reference is issued out of the old reference through a Save As ... command. Compatibility is addressed through issues related to:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
2.1 Issues related to objects |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
A reference can be characterized by its type,
persistency and structure:
What is basic:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
2.2 Issues related to commands |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
There are basically four commands that allow
reference replacing. The behavior of the replacing acting can be different with one or other command. Commands are:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
2.3 Issues related to the environment |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
This issue is perhaps the most open of all. Is is related to the configuration, that can be tuned through the Options feature At the moment let us focus on two:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
2.4 Enumeration of possible casesMultiplying three structure parameters by four commands by two environmental situations lead to twenty four 6X6 truth tables. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
2.5 Limitation in the combinatorial expansionNot all the above cases will be studied. Some issues will NOT be envisaged. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
The case of directly editing or replacing a file by another is not envisaged. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
3. Replacing a CATIA V5 file based reference |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.1. Replacing a CATIA V5 file based reference with a CATIA V5 part |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V5 file based reference with a CATIA V5 part is possible in menus as well as in the Edit links dialog box. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.2. Replacing a CATIA V5 file based reference with a CATIA V4 model |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.2.1 Representing a CATIA V4 model in CATIA V5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
A CATIA V4 reference is made up of a local and a
CATIA V4 model.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.2.2 In a menu |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
A CATIA V5 file based reference CAN ONLY be replaced by a CATIA V4 model reference in the contextual menu and other menus if the parameter Setting loaded documents is set to Allowed. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.2.3 Replacing a CATIA V5 file based reference with a CATIA V4 model in the Edit links dialog box |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
The Edit Links functionality can operate alternatively on the association of the instance -> CATIA V4 reference and inside a CATIA V4 reference on the representation association.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
As a result a CATIA V5 file based reference CANNOT be replaced by a CATIA V4 model reference. (Actually a replacement can be done but will not be saved.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.3. Replacing a CATIA V5 file based reference with a CATIA V5 product structure |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.3.1 In a menu |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V5 file based reference with a CATIA V5 product structure in a menu is possible. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
3.3.2 In the Edit links dialog box |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V5 file based reference with a CATIA V5 product structure in the Edit links dialog box is possible. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
4. Replacing a CATIA V5 ENOVIAvpm reference |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.1. Replacing a CATIA V5 ENOVIAvpm reference with a CATIA V5 part |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.1.1 In a menu |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V5 ENOVIAvpm reference with a CATIA V5 part in a menu is possible. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.1.2 In the Edit links dialog box |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V5 ENOVIAvpm reference with a CATIA V5 part in the Edit links dialog box is possible. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.2. Replacing a CATIA V5 ENOVIAvpm reference with a CATIA V4 model |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.2.1 In a menu |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
A CATIA V5 ENOVIAvpm reference CAN ONLY be replaced by a CATIA V4 model reference in the contextual menu and other menus if the parameter Setting loaded documents is set to Allowed. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.2.2 In the Edit links dialog box |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V5 ENOVIAvpm reference with a CATIA V4 model in the Edit links dialog box is NOT POSSIBLE because of the way a CATIA V4 model is represented in CATIA V5. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.3. Replacing a CATIA V5 ENOVIAvpm reference with a CATIA V5 product structure |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V5 ENOVIAvpm reference with a CATIA V5 product structure is possible in menus as well as in the Edit links dialog box. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5. Replacing a CATIA V4 file based reference |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.1. Replacing a CATIA V4 file based reference with a CATIA V5 part |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.1.1 In a menu |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V4 file based reference with a CATIA V5 part in menus is possible. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.1.2 In the Edit links dialog box |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V4 file based reference with a CATIA V5 part in the edit links dialog box is NOT possible. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.2. Replacing a CATIA V4 file based reference with a CATIA V4 model |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.2.1 In a menu |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
A CATIA V4 file based reference CAN ONLY be replaced by a CATIA V4 model reference in the contextual menu and other menus if the parameter Setting loaded documents is set to Allowed. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.2.2 In the Edit links dialog box |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V4 file based reference with a CATIA V4 model reference in the Edit links dialog box is possible. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.3. Replacing a CATIA V4 file based reference with a CATIA V5 product structure |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.3.1 In a menu |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V4 file based reference with a CATIA V5 product structure is possible in the contextual menu and other menus if the parameter Setting loaded documents is set to Allowed. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5.3.2 In the Edit links dialog box |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V4 file based reference with a CATIA V5 product structure is possible in the Edit links dialog box. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
6. Replacing a CATIA V4 ENOVIAvpm reference |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
6.1. Replacing a CATIA V4 ENOVIAvpm reference with a CATIA V5 part |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V4 ENOVIAvpm reference with a CATIA V5 part is NOT possible. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
6.2. Replacing a CATIA V4 ENOVIAvpm reference with a CATIA V4 model |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V4 ENOVIAvpm reference with a CATIA V4 model is NOT possible. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
6.3. Replacing a CATIA V4 ENOVIAvpm reference with a CATIA V5 product structure |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replacing a CATIA V4 ENOVIAvpm reference with a CATIA V5 product structure is possible. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
7. Summary of CATIA reference replacements |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
These description of CATIA reference replacements are summarized in Table 1: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table 1: CATIA instances replacement |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
(1) FB = File Based | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
8. Handling of contextual links |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
If a reference is described as having one of its
instances pointed by a contextual link, it is necessary that the replacing
reference contain an instance pointed by this same contextual link.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following table shows the replace ability of references with contextual links that are similar: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table 2: Table for replacement with contextual links |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
As a conclusion: the replacement of a reference containing contextual links with another of the same kind is the same as the replacement of simple references. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
9. Handling of assembly constraints |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following tables show the replace ability of references with assembly constraints that are similar. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
9.1 Handling of assembly constraints based on geometry |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
The case of replacing a reference by a new one is globally not supported. It is recommended to rely on a publication to be able to replace a reference by a new one hampered by constraints: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table 3: Table for replacement with assembly constraints based on geometry |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
9.2 Handling of assembly constraints based on publications |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table 4: Table for replacement with assembly constraints based on publications |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
As a conclusion: the replacement of a reference containing contextual links with another of the same kind is the same as the replacement of simple references. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
10. Influence of working with the cache system |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table 5: Working with the cache system |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
11. How structure modifications may lead to changes in instance names |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
If the ChangeNameOnReplace global variable is set names are not changed: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
12. Influence of the "Loaded Document" button |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
The "Loaded Document" button is used to load VPM documents. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||