Switching from Diagram Layer to Icon Layer

To check or modify the icon of a class, you can display this 2D representation.

Notes:
  • When you create a port in a component, a port 2D representation is automatically added to the component icon.
  • The background color of the icon layer and the background color of the diagram layer is by default different, white for the diagram layer and bluish gray for the icon layer. You can define the diagram and icon layer background colors from Me > Preferences > App Preferences > 3D Modeling > Systems Modeling and Execution > Dymola Behavior Modeling , the Editor tab, the Background Color group. For more information, see Editor: Background Color.

See Also
Drawing Primitives
  1. From the Modelica Standard Library, activate Mechanics.Multibody.Examples.Elementary.DoublePendulum.
    By default, the diagram layer is displayed.

  2. From the Diagram section of the action bar, click Icon Layer .

    Tip: You can also access this command from the Action Pad panel. To access the Action Pad panel, from the Tools section of the action bar, click Action Pad , or right-click an empty area and select Display > Action Pad.

    The icon layer of DoublePendulum is displayed.

    If need be, modify this icon using the drawing commands.
  3. To display the diagram layer, you can:
    • From the toolbar above the action bar, click Exit Icon Layer
    • From the Diagram section, click Icon Layer again