Getting started > A simple mechanical system
Displaying labels on the sketch
You can display submodel labels in any mode.
In Sketch mode and Submodel mode, labels will display the submodel title (the icon name, followed by the submodel name in square brackets). In Parameter mode and Simulation mode, instance numbers are also displayed.
Step 1: Set submodels
Procedure
- Click on the Submodel tab.
The display will alter the model appearance to that shown in the following figure. Notice that only the step icon is of normal appearance. This indicates it is associated with a submodel. However, the other components are not of normal appearance because they do not have submodels associated with them. Figure 5: Submodels are not set
- Click on the Premier submodel button .
Submodels are set for the remaining components and also for the line.
Step 2: Show/Hide component submodel labels and line submodel labels
labels show
Procedure
Select one or more components (or use Ctrl + A to select all components on the sketch).
Press the mouse right-button and select Labels.
Select Show component labels and Show line labels.
To have a better display, you can rotate labels with the right-click menu.
See the results shown in the figure below.
At this stage, the submodel names will mean very little to you. But as you become more experienced, the information can be important. In our example, the submodels were selected using the Premier submodel button. The combination of submodels is the simplest one.
Results
Note
You can also use Ctrl + L and Ctrl +Shift + L on the keyboard to display or hide labels for the selected submodel(s).
DIRECT submodel
DIRECT submodel
DIRECT submodel is short for direct connection. This is a very general submodel which actually does nothing at all. It is only used for design convenience: it has no parameters and no variables. It is as if the two entities it joins were connected directly together. The DIRECT submodel is always used when a line connects two components of the Mechanical and Signal, Control libraries.
Figure 6: DIRECT submodel
With other categories such as Hydraulic or Pneumatic, some other line submodels (different from DIRECT ) can be used. These pipe submodels are more complex since they have parameters and variables. Their goal is to calculate flow rate from pressure and /or pressure from flow rate depending on which components they are connected to. See the following example:
Figure 7: Example of a line submodel
Procedure
Select the submenus Hide component labels and Hide line labels to hide the labels.
Finally look at the figure below.
The top and bottom sub-systems are functionally identical but the upper one has far fewer lines. Generally speaking only use lines when they are really necessary. This leads to a much neater sketch and there is less scope for bad connections. There are two situations were lines are necessary:
A line submodel is needed as in the figure above.
It is physically impossible to connect all the ports you want to connect without leaving a gap. You bridge this gap with a line and then use DIRECT submodel. Figure 8: Avoid unnecessary use of lines
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Tutorial/Displaying_labels_on_the_sketch · retrieved 2026-07-17