The Autowire Parts capability 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 Autowire Parts 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 Autowire Parts command from the Tools menu () in 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.
See an example Autowire-Parts.mdzip |
The following procedure describes how to use the Autowire Parts 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.
In the diagram toolbar, click Tools > Autowire Parts, or press Ctrl+Alt+W.
If new connectors are not created after clicking the Autowire Parts, check if all required conditions are satisfied. |
In the opened Messages window, you can specify two options: