-
From the Component Browser or from the diagram, right-click the
relevant component and select Edit Modelica Parameters
.
The dialog box for editing the component Modelica parameters appears to let you
edit the component Modelica parameters and some other modifiers.
-
Click the small triangle after the box of the parameter representing the replaceable class you want to propagate, and select Propagate.
A Short Class declaration dialog box is displayed.
-
If a class not being a basic type should be used, do the following:
- Click on the Select a class box.
- You can select the class in a number of ways, including searching for it; see Using the Class Selector Field.
The name of the class and the path to it (in brackets) is inserted in the box.
- Optional: To remove your selection, click Remove.
- If a basic type should be used:
- Click on Switch between class and basic type selection .
The icon is changed.
- Select a type from the list.
- Constraints can be defined using the constrainedby box. The handling here is analog with the steps 3-5 above.
-
Enter a suitable name in the name box.
- Optional: Enter a suitable description.
-
Click OK.
The replaceable class is now propagated to the surrounding class.