Managing 2D and 3D Views

When a model contains a 3D shape representation, you can manage the layout views to display 2D and/or 3D representations, either from Functional & Logical Design, Systems Architecture Design, or from the Dymola Behavior Modeling app.

This task shows you how to manage 2D and 3D views Dymola Behavior Modeling, but the principles are the same in a Functional & Logical Design or Systems Architecture Design context.

The following apply for the viewpoint selection and zoom level (2D or 3D view, or both):

  • The viewpoint selection and zoom level is restored after a simulation (the selection and zoom level when you enter the simulation is remembered).
  • When you start a new simulation, the viewpoint selection and zoom level is the one you used in the previous simulation (the selection and zoom level are remembered between the simulations).

  1. Open a model containing both 2D and 2D, for example, Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.
    By default, both Geometry and 2D Geometry are active, and the 2D and 3D views are displayed.

  2. From the View section of the action bar, deactivate 2D Geometry to display only 3D shape.


  3. Reactivate 2D Geometry then deactivate Geometry to display only 2D representation.
  4. Reactivate Geometry to display both 2D and 3D, then use Change Active View to select either 2D or 3D representations.

    Notes:
    • For the 3D view, you can select ambience. Right-click in empty area and select Ambience to get the possible selections.
    • You can define a keyboard accelerator for Change Active View . See Customizing Command Properties, a suitable accelerator might be Ctrl+Shift+E. By default, there is no keyboard accelerator defined for this command.
    • When you work with the diagram, interaction with 3D shapes is prevented; you cannot select a 3D component.