User manual
10
package MyModels
model Inertia=Modelica.Mechanics.Rotational.Components.Inertia annotation (__Dymola_shortcut=true);
model Mass=Modelica.Mechanics.Translational.Components.Mass(L=1) annotation (__Dymola_shortcut=true);
end MyModels;
The models appear in the package browser in the usual way:
When dragging from such a shortcut, an instance of the original model is created, possible
with prefilled parameter values if a modifier has been used in the short class definition.
3.2.2 Modelica Text editor improvements
Default expand mode and manual formatting mode can be selected
In the Modelica Text editor, the default expand mode (how much should be displayed as
text, e.g. annotations) and manual formatting mode (if using manual formatting or automatic
formatting mode) can now be set by the command
Edit > Options…, the Appearance tab: