Running the CATUpdateVisuStreams Batch

You can use the CATUpdateVisuStreams batch to regenerate visualization streams.

This task shows you how to:


Before you begin: This batch is relevant only for apps using parts and products.

Access the Batch Interface from the Command Line

You can run the CATUTIL command to access the CATUpdateVisuStreams interface.

  1. Access the default installation folder C:\Program Files\Dassault Systemes\B424\OS_a\code\bin.
  2. Still in the default folder, enter the command CATUTIL -Name "CATUpdateVisuStreams".

Access the Batch Interface from the Batch Monitor

The Batch Monitor provides an alternate method to access the CATUpdateVisuStreams batch interface.

  1. Access the Batch Monitor interface either from the command line, or from a session.
  2. In the Batch Monitor dialog box, double-click CATUpdateVisuStreams from the list.

Define the Batch Parameters

Before running the CATUpdateVisuStreams, you must define the parameters to be applied.

Note that the batch-specific online help can be accessed directly from the CATUpdateVisuStreams interface by clicking ? in the top-right corner.

  1. Click to search for the objects you want to process. See Searching for Objects for more information.
  2. Optional: To remove an object from the search results, select it then click .
  3. In the Selected Operation area, select the stream type (CGR or UV) to be regenerated by clicking the appropriate option.
  4. In the Tessellation Settings list, select how the streams are to be regenerated:
    • Preexisting with Cache: the stream is regenerated using the object's tessellation mode and accuracy. If a tessellation cache is available, it is used to avoid regenerating the entire stream.
    • Preexisting without Cache: the stream is regenerated using the object's tessellation mode and accuracy. The tessellation cache, if any, is not taken into account.
    • Custom: lets you modify the tessellation mode and the sag accuracy. For each option, the value stored in the object is used by default:
      • 3D Tessellation mode: leave the default, or select Proportional, Fixed, or Auto-Adaptive.
      • 2D Tessellation mode: leave the default, or select Proportional or Fixed.
      • 3D Accuracy: enter a positive decimal value.
      • 2D Accuracy: enter a positive decimal value.
      • 3D Curve accuracy: leave the default, or enter a positive decimal.
      • Optimized Mesh: select a value between 0 and 6. The higher the value, the better the optimization and the better (but also the heavier) the mesh.
  5. Click Run to start the batch.
  6. In the Batch Monitor, access the Start tab.
    The name and location of the XML file containing the batch parameters you defined in the previous steps are now displayed. If you run the batch in remote mode, the name of the host computer is also displayed.
  7. Access the Processes tab then double-click the required batch from the list.
    Information on the batch execution is displayed. See Run a Batch Directly From the Batch Monitor for more information about this tab.
  8. Optional: Click Open HTML Report .
    An HTML version of the report is displayed.

    This command is activated only when a report has been generated. You can still visualize the report by opening the HTML file from the directory in which it has been saved.

  9. Click Close to close the dialog box then Cancel to close the CATUpdateVisuStreams.
  10. Select File > Exit to exit the Batch Monitor.

    Tip: When the batch has been run at least once, an XML file containing the batch parameters is generated. You can reuse these parameters next time you access the CATUpdateVisuStreams by right-clicking it then selecting Read input from parameter file....

  11. To read the reports generated by the batch execution, access c:\temp\batchID.

    See Defining the Batch Parameters for more information about this tab.