Creating a View using Generative View Styles  

This task will show you how to create a view using generative view styles. Generative view styles are defined by an administrator and specify the appearance and behavior of a generated view.

For the purpose of this scenario, you will create a front view using generative view styles, but you can use generative view styles to create any type of view.

Open the GenDrafting_part.CATPart document. Define a new drawing sheet.
  1. Go to Tools > Options > Mechanical Design > Drafting > Administration tab, and clear the Prevent generative view style usage check box. This activates the generative view style functionalities.

  2. Click Front View in the Views toolbar. The Generative view style toolbar is automatically displayed.

  3. Select one of the generative view styles available from the list. For example, select DefaultGenerativeStyle. The parameters defined in this file will be used when creating the view.

    • The generative view styles available in the list refer to the external files that can be found in specific directories as explained in Administering Generative View Styles and Standards as well as the generative view style files embedded in the drawing, but in case those files have the same name, only the embedded file is taken into account.
    • The generative view style used for creating a view is stored in the CATPreferences file and is displayed as the default option when creating the next view, if the generative view style is valid. This persistence of the last used generative view style, is also applicable across two CATIA sessions.
      The recently used generative view style moves up to the first position in the drop down selection list.
    • If there is no valid last used generative view style available, then the user will get the drop down list with the first option available in alphabetical order as the default option.
    • The Generative view style toolbar is displayed when creating most view types. However, when creating advanced front views, this toolbar is not displayed. Instead, the View Parameters dialog box (which is displayed when creating advanced front views) features an additional list, which enables you to select a generative view style.
       
  4. In the 3D window, select a plane of the 3D part or a plane surface, to define the reference plane.

  5. Click inside the sheet to generate the view.

    The view is created using the selected generative view style. In our example, vivid edges are projected in black. Note that you may obtain a different result. This result depends on the parameters defined in the generative view style you selected.

Using the standards editor, you can check the parameters defined in the generative view style you selected. To do this, go to Tools > Standards. In the standards editor, choose the generativeparameters category, and then open the DefaultGenerativeStyle.xml file from the drop-down list. Then, for example, go to DefaultGenerativeStyle > Drafting > ViewDressup > GeneratedGeometry > VividEdges, and select the Color parameter. You will see the what color is specified in your generative view style for the projection of hidden edges.