The Autowiring function analyzes and finds compatible ports/interfaces, and automatically creates Connectors between Part Properties. The figure below demonstrates the Thermal View Internal Block diagram before and after Autowiring when the entire diagram is selected. This functionality provides a quick and easy way to create multiple connectors simultaneously.
After parts and ports are displayed or created in the SysML Internal Block Diagram, the parts can be related to one another via Connectors. You can manually create these connections by using the Connector button from the part's/port's shape smart manipulator toolbar or from the diagram palette. You can also do this automatically by using the Autowiring button from the diagram toolbar, if the following conditions are satisfied:
The displayed ports are Proxy Ports or Full Ports.
Types and directions of these flow properties are compatible.
The Connectors do not exist in the model.
The following procedure describes how to use the Autowiring function. This functionality works for an entire diagram or individually selected parts and ports.
To connect Part Properties via compatible ports automatically
Select any number of part or port shapes, or the diagram pane.
Click from the Diagram toolbar, or press Ctrl+Alt+W.
If new connectors are not created after clicking the Autowiring button, check if all required conditions are satisfied. |
In the opened Messages window, you can specify two options: