Optimizing V4 Migration: Deactivation of the V4 Elements' Parents Filter

When copy/pasting V4 space data, duplication of geometries inside a same family is avoided. The main reason is that some elements such as Faces require the migration of underlying entities such as Surfaces, but the Surfaces may also have been migrated explicitly. The purpose is to analyze the set of objects migrated and extract the representative entities.

Thanks to filters, the following elements will no longer be converted:

  1. Border curves of migrated Faces (since they would duplicate face edges).

  2. Surfaces that are support of migrated faces ( since they are already migrated as support of the faces).

  3. Faces included in a migrated Skin or Volume ( since they have been migrated through the skin or the volume and are accessible through those federating elements).

  4. Volumes and Skins used in migrated solids (solids containing Volume or Skin/split primitives for instances) since they are already migrated through the solid primitive. The deactivation of the No Show filter upon Volumes and Skins is automatic during the copy/paste AS SPEC (no environment variable is needed).

  5. Elements in Hide, except Solids (SOLIDE or SOLIDM): The management of Hide/Show should be independent from families. However some border effects have convinced us the two behaviors should be associated: for instance if the model contains a Skin in Hide, whereas its faces are in Show space, migrating the Skin and not the Faces separately would not provide the required result.

This can result in dramatic improvements in terms of conversion performance, memory consumption and CATPart size.

The conversion can be operated on those representative entities only. But these tasks show you that environment variables allow the user to deactivate these filters and to migrate all the V4 features:

CATIA V5 behavior without the environment variables (when the filter is activated)
CATIA V5 behavior with the environment variables (when the filter is deactivated)

Note that the element can still be copy-pasted when selected individually, or if the element it belongs to is not migrated in the same transaction.

This enhancement is automatically used when copy/pasting V4 space data into a CATPart.

Environment variables are provided to disable this behavior (filters):

The following scenarios deal with the second environment variable (set INACTIVE_QUICK_PASTE=1). For more information about the first environment variable, please refer to Optimize V4 Family Migration: Deactivation of the No Show Filter.

 

CATIA V5 behavior without the environment variables (when the filter is activated):

  Open SOLID_PARENTS.model in CATIA V5:

Click the Swap visible space icon to visualize the No Show space:

The Exact Solid, *SOL7, belongs to a Volume, *VOL1. A Volume is the parent of a Solid. If you copy/paste a *MASTER containing a Volume and a Solid into CATIA V5, only the Solid is copied. As a consequence there are fewer features and there is more geometry.

Volumes, Faces and Solids are in the Show space. Volumes, Faces and Border Curves are not migrated because they are filtered, but it is possible to select equivalent features such as Edges, Boundary Curves.

   
 
  1. Copy *MASTER and paste it AS SPEC in a CATPart (in this mode the BREP of the Solid is migrated).

  2. Update the CATPart.

  3. Click the Swap visible space icon:

The copy of the Solid, Solid.1 (*VOL1 -wsp *MASTER-) (VOLM1) is not duplicated but the Solid is still referencing the VOL1.

CATIA V5 behavior with the environment variables (when the filter is deactivated):

 

On Windows, you can deactivate the No Show Filter by entering the following command:

set INACTIVE_QUICK_PASTE=1

And on UNIX:

export INACTIVE_QUICK_PASTE=1

 
  1. Open SOLID_PARENTS.model in CATIA V5.

  2. Copy *MASTER and paste it AS SPEC in a CATPart.

  3. Update the CATPart.

    The Faces allowing the creation of the Volume are migrated into CATIA V5. They are independent features and they are the copies of the ones contained in the PartBody's BREP. As a consequence, this Part is bigger than the first one above.