Cleaner Version 4

This task shows you how to make a diagnostic, and eventually a healing, of V4 Model Data validity before copying it to CATIA Version 5.
Open the document DEMO_UNSMART_1.model.
It is also advisable to run the CATCLN (Cleaner) utility on the model to be copied. Again, this operation must be done on CATIA 418 or higher.
  1. If you encounter this kind of message: <The selected CATIA V4 element XXX has a bad data structure>
    when checking elements of CATIA V4 models (or copying it to CATIA Version 5), there are a certain number of precautions you should take prior to do the copy operation (again), to manage it successfully as possible.

The meaning of this message:

  • This message appears when a problem in the reading of V4 model data has been detected by Catgeo.
  • Then, you need to ask yourself if the V4 model is valid into CATIA V4 and proceed to the following operations:
    • Tape < /cln > in the text field

    • FORCE UPDATE (YES) the solids - if there are some in the model -

    • Save the model.

  1. A second screen exposes a Model analysis by listing the number of detected invalid elements:

  • Click on the four buttons : Delete (invalid elements), Modify (invalid elements), Pack (memory) and All (to see all the messages and results of the checking).
  • Click YES to Execute and the invalid elements are turned into valid components to be migrated. If you click on YES again the"events" number may have turn to 0. FORCE UPDATE then the solids into the model, if there are some. Save the model. 
  • Then you can migrate the elements of this model from CATIA V4 to CATIA V5.
  • If during a migration from CATIA V4 to CATIA V5, you have both messages:

    • <The selected CATIA V4 element XXX has a bad data structure>

    • < The CATIA V4 solid XXX has not been pasted  <$DRAFT.1 ko...etc>

it is due to the bad data structure of the solid, detected into the Draft V4.$DRAFT.1.

The next step is to tape /cln in the text field. The Cleaner's manipulations have modified the V4 Model Data Structure. Thus the model might contain solids which depend on the modified data. Therefore, it is important to force the solid to compute again, to FORCE UPDATE (YES) in order to check that every element is coherent and finally Save the model before translating it.

If you do not FORCE UPDATE the solid, you may translate an unstable solid.