Arranging Block Instances Layout

You can arrange the block instances layout by resizing the instances, aligning them and positioning automatically their ports.

This task shows you how to:


Before you begin: A block instance having several block instances is opened in the Block Editor. See typical example below.

Related Topics
Adding Block Instances

Resize Instances

You can arrange the instances layout by resizing them.

  1. Select a block instance in the 2D viewer.

    Handles appear around the frame.

  2. Drag and drop a mark to resize the block instance.

Arrange Ports

You can arrange the instances layout by positioning their ports.

  1. Drag and drop the ports to position them on the left and the right side of the block instance.



  2. Click the block instance and select Counter object > Update Layout in its contextual menu.



    Note: The command Update Layout arranges the ports around the frame, the inputs on the left side, the outputs on the right side, the Input/Outputs or the ports without direction equally dispatched on the left and right sides.

  3. Click the block instance and select Counter object > Lock Ports layout in its contextual menu.

  4. Try to drag and drop a port of the block instance.

    The ports cannot be moved. The command Lock Port Layout prevents the user to reposition the ports.

  5. Click the block instance and select Counter object > Display ports as Structure in its contextual menu.



    The ports of the block instance are seen as elements of the root structure named Ports.

    Note: This command is also available as an option of the Instance Properties dialog box (refer to Adding Block Instances).

  6. Click the instance and select Counter object > Display All Ports in its contextual menu.



    The root structure is no longer visible.

Copy Instance Layout

You can copy the layout of one instance to another instance which has the same reference block.

  1. Press Ctrl and select the instance Counter1. Then, select the instance Counter2.



    Warning: This command can only be applied to instances of the same reference.

  2. Click Copy Instance Layout in the Block Tools toolbar.

    The layout of Counter1 is applied to Counter0.

Copy Size and Height

You can apply the same height and size to different instances.

  1. Press Ctrl and select the instance Counter. Then, select the instance Clock.



  2. Select Same Width in the Align or Distribute toolbar.

    The width of the instance Counter is applied to the instance Clock.

  3. Select Same Height in the Align or Distribute toolbar.

    The height of the instance Counter is applied to the instance Clock.