Preserving the Window Layout

A window layout is an arrangement of windows in the graphics display, which consists of one or more modes. They can be used to save, restore, and edit a specified visual display.

Since 2020 a new type of object-oriented layout view is available (see Assembling Layout Views). The legacy layouts described in this section are hidden from the GUI beginning with Simcenter STAR-CCM+ 2406. However, for backward compatibility they can still be generated by running macros that were recorded with their creation. Additionally, simulation files that were saved with these layouts in versions 2402 and previous retain them when restored in the current release. You are advised to copy your legacy layouts to the newer objects. See Copying Pre-2020.1 Layouts to Layout Views.
A layout mode is an individual section of the graphics display, which consists of scenes and plots. Modes can be edited, to add, or remove scenes and plots from the graphics display. As an example, the following graphics display has four modes, with one of them highlighted.

Modes can also be undocked from the graphics display. You can save the position on the screen with the layout.

Saving a Window Layout

Saving a window layout makes the current graphics display available for restore. When saved, a window layout can be edited to meet visualization requirements.

To save the current window layout as a new layout, right-click the Layouts manager, and select Save Current Layout.

A layout is added to the Layouts manager.

To save the current window layout as the default layout, right-click the Layouts manager, and select Save Layout As Default.

Alternatively, from the menu bar, select Window > Save Layout As Default.

This action overwrites the default layout under the Layouts manager.

To save the layout as the default layout when the simulation is saved, from the menu bar, select Tool > Options. Then in the Options dialog, select the Visualization node, and activate the Save layout on sim save option.

Restoring a Window Layout

Restoring a window layout restores a saved layout in the graphics display.

To restore a layout, right-click a layout from within the Layouts manager, and select Restore Layout.

The saved window layout is shown in the Graphics window.

Alternatively, to restore only the default layout, from the menu bar, select Window > Restore Default Layout.

Editing a Window Layout

Once saved, window layouts can be edited to meet visualization requirements. Editing consists of adding, replacing, or removing scenes and plots from the layout modes.

Adding a Scene or Plot to Layout Modes

To add a scene or plot to a layout mode, select a scene or plot and drag the item to the Mode manager.

A node representing the scene or plot is then added under the Modes manager. The graphics display is updated when the scene is restored.

Replacing a Scene or Plot in Layout Modes

To replace a scene or plot in a layout mode, select a scene or plot and drag the item to the node that you want to replace.

A node representing the scene or plot then replaces the original node. The graphics display is updated when the scene is restored.

Removing a Scene or Plot from Layout Modes

To remove a scene or plot from a layout mode, right-click the node in the layout mode representing the scene that you want to remove, and select Remove from Layout.

The node representing the scene or plot is then removed from the Modes manager. The graphics display is updated when the scene is restored.

Copying Pre-2020.1 Layouts to Layout Views

To replicate the contents of a layout under Tools > Layouts in a layout view:

  1. In Tools > Layouts, restore the old layout.
  2. Create a layout view with panes that map to the arrangement of windows in the old layout. See instructions for creating a layout view.
  3. In the old layout, click in one of the scene or plot displays to make the corresponding node active in the object tree.
  4. Drag that node into the pane of the layout view that corresponds to the scene or plot's position in the old layout.
  5. Repeat the previous two steps until the layout view matches the old layout. To refine the appearance of the layout view, see Creating and Modifying Layout Views.