If you place model text into a family, it acts like a nested family, and the format can be controlled by parameters in the host family.
You can create parameters in the host family to control the text, text size, and depth, and to toggle between bold and italic for the model text in the project.
To control text
- To place some model text in the host family, click Create tabModel panel (Model Text), and then type the text in the Edit Text dialog.
- Click Create tabProperties panel (Family Types), and add a family parameter that is of type text. This will be the parameter that controls the text of the model text in the project.
- In the Family Types dialog, enter some text in the Value field for the new parameter. For example, if you created a parameter called Mtext, you might enter default.
Note: Do not leave the Value field empty. If you do, Revit issues a warning.
- Click OK.
- Select an instance of model text in the family, and on the Properties palette, for Text, click .
- In the Associate Family Parameter dialog, select the parameter you created to associate with the model text parameter.
- Click OK twice.
- Continue creating the host family and save it.
- Load that family into a project and place a few instances of it.
- Select an instance of the family, and for an instance parameter, edit the model text parameter on the Properties palette; for a type parameter, click Edit Type to open the Type Properties dialog to edit the model text parameter.
The model text updates to the new value. If you created an instance parameter, just the one instance changes. If you created a type parameter, all current and future instances of the model text change.
To control depth
Controlling model text depth is similar to controlling text, except that you create a family parameter that is of type length. Follow the above procedure to associate parameters for model text depth.