Creating 2D Circuit Views and 2D Wiring

You can create 2D circuits from smart components and use the shortcut menu to wire them directly.

The 2D wiring details are used to generate the automatic 3D wires.

You can switch between 3D, 2D circuit, and code views. When you select a component in the tree, it is highlighted in the 3D view, the 2D view, and the breadcrumbs.

See Also
Autocreating 2D Wires
Including Subassembly Components in 2D Circuit
  1. From the Mechatronics section of the action bar, click Part Supply and insert smart components.


  2. From the Mechatronics section of the action bar, click 2D Circuit View .


    The smart components appear in the 2D view.

    When the components are in 2D view, all the commands in the action bar related to 3D wiring are disabled.

  3. Optional: Use the following keyboard shortcuts in the 2D view.
    OptionDescription
    F Reframes.
    Z Zooms in.
    Shift +Z Zooms out.
    Arrow Pans.
    Delete Deletes.

    For Mac, use Fn + Delete

    Ctrl + C Copy
    Ctrl + V Paste
    Ctrl + D Duplicate
    Esc Cancels wire creation.
    B For the Box Selection command
  4. Optional: Hover over the components in the model to view their name.
  5. Click the components to view the shortcut menu.

    See shortcut menu.

  6. From the shortcut menu, select Auto wire.

    You can also find the command 2D Autowire from the action bar.

    The 2D wiring is automatically created.

    You can also do manual wiring by clicking two connection points. When you start connecting wires, an automatic prompt shows up the destination where you can possibly connect the wire to.

  7. Optional: Modify the path of the wire by dragging the wire (using handle) or smart component.



    Notes: You can:
    • Edit the starting point and ending point of wires by clicking connection points.
    • Modify the direction of the wires by dragging them.
    • Split the wires by double-clicking it.
    • Create a new wire or detach the existing wire by clicking a connection point.

    The colors of the wires are automatically assigned based on the connection types.

    ColorConnection Type
    Red 9V, 5V, 3.3V,Vin,Power_Jack
    Black GND
    Green Digital, DigitalIn, DigitalOut, GPIO, REF, Reset
    Yellow AnalogIn
    Orange SerialComm_Tx,SerialComm_Rx,I2C_SDA, I2C_SCL, USB_B
    Blue PWM, Wire, ScrewTerminal

    Click the wire to see its terminal and wire information. You can delete wires and edit their details from the shortcut menu. For details, see 2D Circuit Shortcut Toolbars

    You have options to choose wire transparency, dual view (3D or 2D view along with code view) in the toolbar at the top of the work area. For details, see Mechatronics Toolbars.

    Some smart components contain sample code. While in dual view (2D view and code view), these components can be animated based on their sample code. To start the animation, select a component with sample code, and click Start Sample Code Animation from the shortcut menu.