5.3.5. Views

There are four default views that are handled specially. These are named: View 1, View 2, View 3, and View 4. These views will not be included in CFD-Post reports. However, any of these views can be viewed in any of the viewports, and you can create new views or figures that will be shown in reports.

5.3.5.1. Object Visibility

The visibility of an object is specified by the VIEW that should display the object, rather than the object specifying whether it is visible. That is, the object is made visible in a certain view--it is no longer a property of the object.

The VIEW object has a parameter named Object Visibility List that is set to a comma-separated list of object paths that should be visible in the VIEW object.

Here is an example of the VIEW object CCL to define the visibility for the view:

VIEW: View 1 Object Visibility List=/PLANE:Plane 1, /VECTOR:Vector 4END

Note:  The Object Visibility List parameter should contain only object paths, and not object names.


Setting the Visibility parameter on an object has no effect.

For session files, there are command actions that enable you to change the visibility of objects:

  • >show

  • >hide

  • >toggle

Each of these actions take an object name, path, or list of names and paths for which to show, hide, or toggle the visibility. Also, the actions optionally take a parameter that specifies the view to show the object. The visibility action parameters can alternatively take names or entire paths to specify the objects and the views.

Example 1: The following action will show the object /PLANE:Plane 1 in all existing views, including user figures.

>show Plane 1

Example 2: The following action will hide both /PLANE:Plane 1 and /PLANE:Plane 2 in view /VIEW:View 1.

>hide Plane 1, /PLANE:Plane 2, view=View 1

Example 3: If Plane 1 is visible, and Plane 2 is not visible in /VIEW:View 2, the following action will make /PLANE:Plane 1 not visible, and /PLANE:Plane 2 visible in view /VIEW:View 2:

>toggle Plane 1, Plane 2, view=/VIEW:View 2

5.3.5.2. Legends

There is a default legend for each VIEW object. The default legend is automatically created and deleted along with the view. By default, the default legend is made visible in the view it is associated with.