Saving as V4 DataThis section describes the Saving as V4 Data with other options such as Writing Code Page, Model Dimension, Model Unit, and Initial Model File Path.
Writing Code PageFor a full scenario illustrating this functionality see "Saving Version 6 Documents As CATIA Version 4 Models" in the CATIA - V4 Integration User's Guide. In Version 4, the declaration parameter catsite.WRITING_CODE_PAGE declares the code page to be stored in the Version 6 data to be written. The writing code page ISO-8859-1 is the default value so normally, unless another code page was already specified, you can go ahead with the save. However, if you want to use a writing code page other than ISO-8859-1, open the WRITING_CODE_PAGE list in the V4 Declarations part of the dialog box (indicated by the arrow above), select the appropriate code page and click OK.
Model DimensionIt is possible to customize Model Dimension for V4 models generated in V6. V4 tolerances will be computed according to V4 recommended values from this Model Dimension. In V4, model tolerances can be modified through . The Model Dimension Parameter, which can be modified in CATIA V4, has an impact upon the precision of geometrical calculation. The value by default is 10000mm and it corresponds to the V4 value.Before saving a V6 Representation as a Model, you can change the Model Dimension parameter to fit your V4 standards. The whole set of tolerances will be computed from this Model Dimension according to the V4 recommended values.
Model UnitYou can apply a scale factor between the imported file and what you want to get from the original Model. You can choose a V4 Unit in this list:
Initial Model File PathWith this option, you can translate V6 documents into V4 Models using V4 standards defined in the V4 Initial Model. You may use an Initial Model; this means that you define a reference model which includes default values. To customize the environment (initialization values to modal parameters and management parameters), you need to create an Initial Model. Such a Model is often used to ensure that everyone in a company works with the same predefined standard values. The Save As Model operation is able to take into account a V6 setting: a V4 Initial Model file path. Before saving a V6 product as a V4 model, you can specify an initial Model file path in this setting: The "Initial Model file path" setting can replace the following settings:
The "Initial Model file path" setting defines other V4 standards:
This information will be extracted from the Initial Model and added to the V6 generated model. The customer can use environment variables, by pre-defining an environment variable:
The name of the variable is chosen by the user. The user fills the editor with a path containing this environment variable. The user switches tab page or clicks OK. Then he comes back to the modified tab page: the path contains no environment variable anymore. Instead, the full expanded path appears on the tab page: Initial Models referenced in CATIA V6 should not contain:
Therefore, Initial Models used in CATIA V4 will not always be reusable directly in V6, and it will be generally easier to recreate a dedicated Initial Model for CATIA V6. On Windows, if the Initial Model contains elements that are not supported, the Save As Model operation will be aborted. On UNIX, this operation is allowed if the codepage of the model and the codepage of the session are identical. Create an error featureThis section describes the Create an error feature in CATPart if saving is incomplete with Never, After user agreement, and Always options.
When some V6 elements cannot be migrated into CATIA V4, a warning can be displayed and an error feature appears in the V6 Specification Tree.
Associate Curves to Faces Boundaries in V4 ModelThis section describes the CAssociate Curves to Face Boundaries in V4 Model with None, Only conics, and All V4 Types options.
During the "Save As Model" operation, this option is available and the user can choose to associate (or not) Curves to Face boundaries in a V4 model. In the Associate Curves to Face Boundaries in V4 Model frame, you can select one of these options:
If the user has clicked one of these buttons and then he wants to use the by-default option, he needs to delete personal settings before activating this option. Small Edges and Faces CleaningIn order to optimize V6 / V4 migration, the Maximum Gap setting can be activated to clean small V6 elements. This can result in dramatic improvements in terms of conversion performance, memory consumption and Model size.
The parameter entered in the Maximum Gap Of... frame is used in order to choose a maximum gap that may be generated when a small element (Face or Edge) is cleaned in V4 model. By default, this option is cleared. In the Small Edges And Faces Cleaning frame, a first choice can be activated or not:
Then, you can choose a value:
You can launch the V6 / V4 CleanTolerance with the Maximum Gap option: 0,1mm. During the V6/V4 import, when this option is activated, small elements (Edges, Faces) are cleaned inside this tolerance (for instance, tolerance value=.01). The usability of the resulting model is increased, for example if the V4 model must be reworked, using the limit 2 or form tool V4 function. We guarantee that the gaps created between these cleaning actions are less than this tolerance. The added values of Small Edges and Faces Cleaning are:
|