Computing the Optimal Mirror  

In this scenario, the user instantiates the vehicle, the driver, the target, and computes the optimal mirror depending on his work context. This scenario is divided into the following steps:

Start the RearViewMirror Workbench

  1. Open CATIA and close the default empty product.

  1. From the Start menu, select RearViewMirror.

If this workbench is not available, contact your expert user for him to copy the files provided in the Before you start topic into the appropriate directories and to generate the workbench enabling you to replay this scenario.

You are now in the user workbench. All the items defined in the .CATfct file now display in the toolbar located in the right part of the screen. Note that the icons can be replaced with empty check boxes if you did not associate icons with the created behaviors when defining the .CATfct file.

  1. Click the root product in the specification tree, click the icon to initialize the assembly context in the selected product (if need be) and click the root product again.

Define the Type and Load the Vehicle

  1. Click the product and click the IndirectVision icon. The IndirectVision type is assigned to the root product.

  2. Define the type and load the vehicle. 

    • Right-click the IndirectVision (Product1) object in the tree and select IndirectVision (Product1) object>Define vehicle data. The vehicle is loaded. Its type is "Vehicle".

 

Instantiate the Driver

  1. Instantiate the driver.

  • Right-click the IndirectVision (Product1) object in the tree and select IndirectVision (Product1) object>Define driver. The Catalog browser is displayed.
  •  In the catalog browser, select Driver-2D-95-Male. The behavior instantiates the selected driver.
 

Instantiate the Target

  1. Instantiate the target.

    • Right-click the IndirectVision (Product1) object in the tree and select IndirectVision (Product1) object>Define target.

    • In the Catalog browser, double-click Target and TargetTemplate. The target is instantiated.

    • Click Fit all In to see the target created (see picture below.)

Compute the Optimal Mirror

  1. Compute the optimal mirror.

    Right-click the IndirectVision (Product1) object in the tree and select IndirectVision (Product1) object>Compute optimal mirror. The optimal mirror is computed with the corresponding field of view (see picture below).

Change the Legislation

  1. Expand the IndirectVision variables node, double-click the IndirectVision definition and set the Legislation attribute to US.

  2. Double-click the LegislativeTarget.1 part, right-click it and select Local Update.

  3. Repeat the same operation with the Mirror_Part. The product is now updated and the modifications are applied.

Check the Driver Position

  1. Check the driver position.

    •  

    Right-click Driver (Driver_Part.1) and select Driver (Driver_Part.1) object>Check driver position. Two warning boxes display pointing out the invalid attributes.