Moving, Resizing, Flipping, and Rotating Components

You can move, resize, flip, and rotate one or several components.


Before you begin: From the Package Browser, activate a class.
Note: The class must be editable.

The class and its components are displayed both from the diagram layer and from the Component Browser.

See Also
Displaying and Moving the Origin
Context Toolbars
  1. Select one or several components.

    Tip: To avoid the risk of creating unwanted connections when, for example, moving components, you can deactivate the creation of direct and smart connections by, from the from the Diagram section of the action bar:
    1. Click Smart Connection
    2. Click Direct Connection
    The commands works in toggle mode. It is a good idea to activate these modes again when ready.

    For example, select a component in the diagram:

  2. Drag the pointer and move the components to the required position.

    Tip: For a single component, you can also move it by editing the Modelica text of the location of the origin.

  3. To resize the component, drag the handles.


  4. To rotate one or several components clockwise, from the flyout of the last command in the context toolbar, click Rotate -90 .

    Tip: For a single component you can also, from the diagram or from the Component Browser, right-click the component and select Orientation > Rotate -90 .

    The result is:

    Note: For a single component, the rotation is done around the origin of the component (displayed as a red cross), if any. Otherwise, the origin is automatically added at the center of the component.

    To rotate counterclockwise, use the corresponding command Rotate 90 .

  5. To flip one or several components horizontally, from the flyout of the last command in the context toolbar, click Horizontal Flip .

    Tip: For a single component, you can also, from the diagram layer or from the Component Browser, right-click the component and select Orientation > Horizontal Flip .

    The result is:

    Note: For a single object, the flipping is done along the horizontal or vertical axis passing through the origin of the component (displayed as a red cross), if any. Otherwise, the origin is automatically added at the center of the component.

    To flip the component or components vertically, use the corresponding command Vertical Flip .