This task will show you how to use the CATDUA
V5 in Batch mode (called CATDUA V5 Batch), outside an interactive CATIA
session in batch and in interactive mode. This batch lets you use the CATDUA V5 to have a support CATIA level change, to make a diagnostic, and eventually a healing of CATIA document (CATPart, CATProduct, CATProcess, CATAnalysis, CATDrawing, CATMaterial):
In this task, you will see how to:
|
||||
The CATDUA V5 settings work with the same
CATIA settings. If the
Cache
Activation option (in CATIA
Tools
> Options > Infrastructure > Product Structure) or the
Load
referenced documents option (in CATIA
Tools
> Options > General > General) have been selected, they will be
taken into account in the CATDUA V5. In CATIA Tools > Options > General > General, it is recommended to select the Load referenced documents option. |
||||
The list of processed errors may slightly differ depending on the origin of the document. For example, if the document comes from ENOVIA LCA or ENOVIA VPM, the errors that are not processed, are clearly identified with the (*) symbol. Therefore refer to: | ||||
Method 1: Accessing the Batch Interface from the CATDUA V5 interactive Tool |
||||
On Windows |
||||
|
||||
On UNIX |
||||
|
||||
Method 2: Accessing the Batch Interface from the CATUTIL / CATDUA V5 Batch Tool |
||||
You can also run the CATDUA V5 Batch using the Batch
Monitor which lets you access a specific batch interface or run a batch
directly from the command line. In that case, an additional area will be displayed at the bottom of the window to let you select a license using the Licensing Setup... button (see Running Batches Using the Batch Monitor in the Infrastructure User's Guide, paragraph Defining the batch parameters). The batch-specific online documentation can be accessed directly from the batch interface by clicking the icon in the top right corner (on Windows) or the Help button (on UNIX). For this task, you have to open the Batch Monitor dialog box either in or out of a CATIA V5 session. To know how to access to the Batch Monitor, see Running Batches Using the Batch Monitor in the Infrastructure User's Guide. |
||||
Defining the Batch Parameters |
||||
|
||||
Selected Operation |
||||
Use the Operation pull-down list to select
the operation you want to process:
|
||||
It is strongly recommended to select first of all the operation (Check or Clean) you want to process, as many following options depends on the operation. | ||||
Filter the list of errors you want to
detect. By default all errors are taken into account. Several filters are:
The list of available errors according to the filters selection is dynamically computed. You can at any time go back to the initial selection (all priorities) by pushing the "Reset Filter" button. Then you can decide to apply:
You can also manually exclude or add an error by selecting the error in
the list. |
||||
Document Selection |
||||
Use the Document Location
pull-down list to select the type of documents to be processed: either
File, ENOVIA VPM or ENOVIA LCA. Still in the Document Selection area, click the button to select the documents to be processed. Each document type is associated to a specific search interface: |
||||
File: When searching for File documents with the "Clean" action selected, the search is performed via the following File Selection dialog box: Note that this option allows you to rename automatically the cleaned
documents, keeping the input directory structure, and many more useful
options. |
||||
For detailed information on this dialog box, refer to the hyperlink: Searching for File Documents, within the page entitled: Running the Data Life Cycle Batch, in the Infrastructure User's Guide. | ||||
ENOVIA V5: When searching for ENOVIA V5 documents, the search is performed via the Search Documents in ENOVIA LCA dialog box: By the same way than the File selection, this panel may differ depending
on the Check or Clean option. |
||||
ENOVIA VPM (UNIX only) When searching for ENOVIA VPM documents, the search is performed via the Search Documents in ENOVIAVPM dialog box:
By the same way than the File selection, this panel may differ depending
on the Check or Clean option. This scenario takes the "File" Document Location as an example. When working with File documents, note that the former Pointed document option (allowing to process all the documents pointed to by the document to be checked or cleaned) has been replaced by the Select pointed documents option available in the File Selection dialog box. If you change your mind afterwards and decide not to process one or several documents displayed in the Name list, select them (you can use the multi-selection), then click the button to remove the documents from the list. As long as no document is selected, the button is dimmed. |
||||
Output: |
||||
In the Target Directory field,
key in the output directory or DLName or, click the
button to navigate through the
file tree to the desired directory. This field is mandatory and is
initialized with the current or temporary directory by default. If you set the DLName environment as "Current" in the Tools > Options > General > Document tab, the usual File Selection dialog box will be replaced by the following one: |
||||
The DLName document environment lets you
restrict the access to specific folders referenced by logical names,as "DLNames" (each
folder is assigned a logical name). In this mode, the different file opening and saving commands only allow end users to access documents in directories referenced by DLNames. DLNames are identified by the string CATDLN://, for instance "CATDLN://DLNAME3".
Use the "Look in:" pull-down list to select the root DLName in which you
want to navigate. The sub-folders (if any) stored in the selected root
DLName are then displayed in the DLName list below and you can choose a
DLName in list: the selected DLName is displayed in the "Selected DLName"
field and will be set as the target directory. You can also click the icon to
access the Search Results dialog box which lets you search for DLNames
using a specific interface. For more information, please refer to Searching
for DLNames in the Infrastructure User's Guide (Customizing
Settings, General, Document). |
||||
|
||||
Saving the Batch Parameters |
||||
You have to save the batch parameters if
you want to postpone the batch execution or reuse the batch parameters for
another batch execution. Note that you can save the xml file and run the batch execution directly from the CATDAUV5 dialog box. Click the Save button. The Save As dialog box appears and lets you save the associated xml file and save the parameters you just have defined. This file contains information about the batch (name of the batch, name of the documents you want to check or clean, path directory of the check/clean report, ...). This file can also be used to valuate all the fields, using the contextual menu. |
||||
|
||||
You can immediately run the CATDUA V5 Batch
either from the CATDUA V5 dialog box or from the Batch Monitor.Running the CATDUA V5 Batch from the CATDUA V5 dialog box |
||||
Note that you can perform the following
action without saving the xml file. Click the Run button to start the CATDUA V5 Batch execution. |
||||
|
||||
Running the CATDUA V5 Batch directly from the Batch Monitor |
||||
Note that you can perform the following
actions only if you already have one or several xml file containing all the
necessary information about the batch parameters.
|
||||
|
||||
Visualizing the Report of a Batch Execution in the Batch MonitorThe report of the CATDUA V5 Batch execution is stored in the Processes tab of the Batch Monitor dialog box. You can find the following information:
In the batch mode, all levels of priority are automatically processed. |
||||
To know how to have access to the results of the check/clean execution, refer to Viewing Results of CATDUA V5 Execution in this guide. |
||||
Assembly Links Consistency |
||||
CATDUA cannot be used as kind of SendTo for links
management while batch processing an assembly. If you want to keep
the assembly links consistency while using CATDUA in batch mode, you
have to use CATDUA with replace option at the same location. The
Keep at same location output option shall be used to save
the modified documents at the same input location. If you do not
want to replace the original documents, then you have to first
manually do a CATIA > File > SendTo > Directory to some
other directory and then replace CATDUA there to keep links
consistency.
For detailed information on the output options like Keep at
same location, Replace existing documents in target
directory, please refer to: Infrastructure User's Guide >
Running the Data Life Cycle Batch > Searching for File Documents.
|
||||
|