Hiding and Displaying Connection Lines

You can hide and display connections individually, and also display all hidden connection lines.

The commands for individual connections lines sets, in Modelica text, visible=false or visible=true (the default value) in the annotation Line(...) for the connection line. Displaying all hidden connection lines overrides the annotation settings.

Note: For displaying Modelica text, see Displaying and Editing Modelica Text.

See Also
About Connectors and Connections
  1. To hide a connection, right-click the connection and select Connection object > Hide Connection.
    The result is:
    • The connection line is hidden, except two short sections, one at the beginning of the connection and one at the end of the connection.
    • If the connection has a connection label, the two short sections are instead replaced by two text boxes with the connection label, one at the beginning of the connection, one at the end of the connection. The boxes have the same color as the text.
      Tip: Applying connection labels when using hidden connections is useful, since several hidden connections from the same connector results in a list of text boxes near the corresponding connector. This makes it easy to select a specific connection by selecting the corresponding text box.
      Important: To display connection labels of hidden connections you must activate the preference Show labels of hidden connections from Me > Preferences > App Preferences > 3D Modeling > Systems Modeling and Execution > Dymola Behavior Modeling , the Editor tab. This preference is by default activated.
  2. To display hidden connections, do any of the following:
    • To display a hidden connection with no connection label, right-click any of the small section in the beginning or end of the connection, and select [xxx] object > Show Connection(s).
      Important: If overlapping hidden connections are present, only the top connection is displayed.
    • To display a hidden connection with a connection label, right-click any of the connection labels and select [xxx] object > Show Connection(s).
      Tip: Use connection labels to avoid the problem with overlapping hidden connections above - the connection labels are never overlapping even if the connections are.
    • To display all hidden connections from a certain connector, click the connector to select it, and then right-click and select [xxx] object > Show Connection(s).
    • To display all hidden connections, activate the Show hidden objects option from Me > Preferences > App Preferences > 3D Modeling > Systems Modeling and Execution > Dymola Behavior Modeling , the Editor tab.