Optimizing V4 Family Migration: Deactivation of the No Show 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.

  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.

 

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

Open SURFACE_ISOLATED_UNDERFACE_INSKIN_NOSHOW.model in CATIA V5:

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

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

 
  1. Click the Swap visible space to visualize the No Show space:

    The elements CRV17 and SUR1 contained in the *MASTER are in the No Show space.

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

  3. Update the CATPart.

  4. Click Swap visible space:

    CRV17 and SUR1 which were in the No Show space in the model have not been migrated in CATIA V5.


    When you have a Skin containing a Face, only one feature "Skin" without Curve borders and Face is migrated. This is a means to avoid duplication of similar features.

Functionality scope:

   
V4 model V5 CATPart
With Filter 1 Skin in Show
+ 1 Face in No Show
1 Skin in Show
no Border Curve
no Face
1 Skin in No Show
+ 1 Face in Show
Face in Show
1 Face + 1 Surface
+ Border Curves in Show
1 Face
no Border Curve
no Surface
1 Face in No Show
+ Border Curves in Show
Border Curves in Show
1 Surface in No Show
+ Curves in No Show
no Surface in No Show
no Curves in No Show
1 Surface in No Show
+ Curves in Show
Curves in Show
When the No Show Filter is deactivated 1 Skin in Show
+ 1 Face in No show
1 Skin in Show
+ 1 Face in No show
1 Skin in No Show
+ 1 Face in show
Skin in No Show
No element in No Show
1 Face + 1 Surface + Border Curves in Show 1 Face
no Border Curve
no Surface
1 Face in No Show
+ Border Curves in Show
1 Face in No Show
+ Border Curves in Show
1 Surface in No Show
+ Curves in No Show
1 Surface in No Show
+ Curves in No Show
1 Surface in No Show
+ Curves in Show
1 Surface in No Show
+ Curves in Show

 

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 KEEP_HIDDEN_ELEMENT=1

And on UNIX:

export KEEP_HIDDEN_ELEMENT=1

 
  1. Open SURFACE_ISOLATED_UNDERFACE_INSKIN_NOSHOW.model in CATIA V5.

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

  3. Update the CATPart.

  4. Click the Swap visible space icon:

    It is now possible to visualize the Curve and Surface in the No Show space.