Main Principles
Ports are created in 3DEXPERIENCE but are managed as publications in the 3DEXPERIENCE user interface. Publications defined for references with a multirepresentation can be exported to V5.
The use of publications in V5 document links is strongly recommended to ensure links stability in case of minor 3DEXPERIENCE changes and reexport of 3D Shapes to V5.
Two types of ports can be exported through the DownwardCompatibility batch:
- Ports defined under a 3DEXPERIENCE terminal reference (i.e. a reference without any child) linked to the geometry of a CATPart or a CATShape.
- Ports defined under a 3DEXPERIENCE representation are exported either to CATParts, or to CATProducts associated with CATShapes. These representations can be instantiated in intermediate references.
These ports are defined on terminal geometry or on terminal geometrical sub-elements.
- If the same representation reference is exported to a CATPart, then the 3DEXPERIENCE port will be exported to the resulting CATPart:
- A CATShape document cannot contain any publication definition. Therefore, if a representation reference with geometry pointed to by a port defined in the same representation is exported to a CATShape, then the V5 publication will be created inside a CATProduct or a CATPart and will be linked to the CATShape geometry:
- The 3DEXPERIENCE port defined under a representation reference and the 3DEXPERIENCE port in the parent reference are exported under the same V5 product container. Therefore, if several 3DEXPERIENCE ports can be exported from different product structure levels under the same V5 reference, this might create publications with identical names. To avoid this, a port under a representation reference is exported with a V5 name which is the 3DEXPERIENCE name suffixed by the identification string of the representation reference it comes from. For a port under a terminal reference, it is exported with a V5 name which is the 3DEXPERIENCE name without any suffix.
If no identification string has been explicitely defined, the PLM_ExternalID of the representation reference is used.
- The DownwardCompatibility batch cannot create ports of a port (this could occur in case of a port defined under a terminal reference linked to another port defined under a representation reference). This means that the port of a port will not be exported and you will only get the port from the representation reference. This avoids the creation of two publications linked to the same geometry.
- When exporting to the same V5 document two ports from two different product structure levels (a terminal reference and one of its associated representation references) linked to the same geometry, note that both ports are created and no check is performed.
For detailed information about converting multirepresentations, see Multirepresentation Conversion with the DownwardCompatibility Batch.
Example 1
Three ports are defined under a terminal reference: two of them are linked to the geometry of a 3D shape and the other one is linked to the geometry of the previous ports (therefore, it is a port of a port).
There is also a port on the representation. This port has already been used by a port on a reference.
All these ports are exported as publications to V5, except the port of a port.
Where:
- Main representation criterion is OBF = OBF2
- Identification string = OBF.
In V5, only publications defined under a main representation will be resolved. Publications defined under alternate representations will only be resolved after opening the CATShape or activating the CATShape through the Manage Representations command.
Example 2
Two ports: one is defined under an intermediate reference, and the other one is defined on the representation on the intermediate reference.
Only the port defined on the representation is exported.
Where Identification String = OBF.
Associativity
Impacts are identified during synchronization:
- If there is a naming conflict between a publication to be created by the DownwardCompatibility batch and an already existing V5 publication (not created by the batch), then the V5 publication is previously removed so that the publication name is reused during the 3DEXPERIENCE publication export. Otherwise, the V5 publication is kept.
- If the V5 document type changes, new V5 documents will be created without the already created publications. Therefore, the publications will be created again, except some of them which will not be created because of the type changes.
- Other deletion, creation or update criteria remain unchanged.